Documentation
¶
Index ¶
- type EulerAngles
- func (m *EulerAngles) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *EulerAngles) CloneVT() *EulerAngles
- func (this *EulerAngles) EqualMessageVT(thatMsg any) bool
- func (this *EulerAngles) EqualVT(that *EulerAngles) bool
- func (x *EulerAngles) GetPitch() float64
- func (x *EulerAngles) GetRoll() float64
- func (x *EulerAngles) GetYaw() float64
- func (x *EulerAngles) MarshalJSON() ([]byte, error)
- func (x *EulerAngles) MarshalProtoJSON(s *json.MarshalState)
- func (x *EulerAngles) MarshalProtoText() string
- func (m *EulerAngles) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *EulerAngles) MarshalToVT(dAtA []byte) (int, error)
- func (m *EulerAngles) MarshalVT() (dAtA []byte, err error)
- func (*EulerAngles) ProtoMessage()
- func (x *EulerAngles) Reset()
- func (m *EulerAngles) SizeVT() (n int)
- func (x *EulerAngles) String() string
- func (x *EulerAngles) UnmarshalJSON(b []byte) error
- func (x *EulerAngles) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *EulerAngles) UnmarshalVT(dAtA []byte) error
- type Vec3
- func (m *Vec3) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Vec3) CloneVT() *Vec3
- func (this *Vec3) EqualMessageVT(thatMsg any) bool
- func (this *Vec3) EqualVT(that *Vec3) bool
- func (x *Vec3) GetX() float64
- func (x *Vec3) GetY() float64
- func (x *Vec3) GetZ() float64
- func (x *Vec3) MarshalJSON() ([]byte, error)
- func (x *Vec3) MarshalProtoJSON(s *json.MarshalState)
- func (x *Vec3) MarshalProtoText() string
- func (m *Vec3) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Vec3) MarshalToVT(dAtA []byte) (int, error)
- func (m *Vec3) MarshalVT() (dAtA []byte, err error)
- func (*Vec3) ProtoMessage()
- func (x *Vec3) Reset()
- func (m *Vec3) SizeVT() (n int)
- func (x *Vec3) String() string
- func (x *Vec3) UnmarshalJSON(b []byte) error
- func (x *Vec3) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Vec3) UnmarshalVT(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EulerAngles ¶
type EulerAngles struct {
// Pitch identifies the rotation around the lateral axis, in degrees.
Pitch float64 `protobuf:"fixed64,1,opt,name=pitch,proto3" json:"pitch,omitempty"`
// Yaw identifies the rotation around the vertical axis, in degrees.
Yaw float64 `protobuf:"fixed64,2,opt,name=yaw,proto3" json:"yaw,omitempty"`
// Roll identifies the rotation around the longitudinal axis, in degrees.
Roll float64 `protobuf:"fixed64,3,opt,name=roll,proto3" json:"roll,omitempty"`
// contains filtered or unexported fields
}
EulerAngles is an orientation in degrees around the game world axes.
func (*EulerAngles) CloneMessageVT ¶
func (m *EulerAngles) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*EulerAngles) CloneVT ¶
func (m *EulerAngles) CloneVT() *EulerAngles
func (*EulerAngles) EqualMessageVT ¶
func (this *EulerAngles) EqualMessageVT(thatMsg any) bool
func (*EulerAngles) EqualVT ¶
func (this *EulerAngles) EqualVT(that *EulerAngles) bool
func (*EulerAngles) GetPitch ¶
func (x *EulerAngles) GetPitch() float64
func (*EulerAngles) GetRoll ¶
func (x *EulerAngles) GetRoll() float64
func (*EulerAngles) GetYaw ¶
func (x *EulerAngles) GetYaw() float64
func (*EulerAngles) MarshalJSON ¶
func (x *EulerAngles) MarshalJSON() ([]byte, error)
MarshalJSON marshals the EulerAngles to JSON.
func (*EulerAngles) MarshalProtoJSON ¶
func (x *EulerAngles) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the EulerAngles message to JSON.
func (*EulerAngles) MarshalProtoText ¶
func (x *EulerAngles) MarshalProtoText() string
func (*EulerAngles) MarshalToSizedBufferVT ¶
func (m *EulerAngles) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*EulerAngles) MarshalToVT ¶
func (m *EulerAngles) MarshalToVT(dAtA []byte) (int, error)
func (*EulerAngles) MarshalVT ¶
func (m *EulerAngles) MarshalVT() (dAtA []byte, err error)
func (*EulerAngles) ProtoMessage ¶
func (*EulerAngles) ProtoMessage()
func (*EulerAngles) Reset ¶
func (x *EulerAngles) Reset()
func (*EulerAngles) SizeVT ¶
func (m *EulerAngles) SizeVT() (n int)
func (*EulerAngles) String ¶
func (x *EulerAngles) String() string
func (*EulerAngles) UnmarshalJSON ¶
func (x *EulerAngles) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the EulerAngles from JSON.
func (*EulerAngles) UnmarshalProtoJSON ¶
func (x *EulerAngles) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the EulerAngles message from JSON.
func (*EulerAngles) UnmarshalVT ¶
func (m *EulerAngles) UnmarshalVT(dAtA []byte) error
type Vec3 ¶
type Vec3 struct {
// X identifies the component along the game world east-west axis.
X float64 `protobuf:"fixed64,1,opt,name=x,proto3" json:"x,omitempty"`
// Y identifies the component along the game world north-south axis.
Y float64 `protobuf:"fixed64,2,opt,name=y,proto3" json:"y,omitempty"`
// Z identifies the component along the game world vertical axis.
Z float64 `protobuf:"fixed64,3,opt,name=z,proto3" json:"z,omitempty"`
// contains filtered or unexported fields
}
Vec3 is a position or direction in world space, in game units.
func (*Vec3) CloneMessageVT ¶
func (m *Vec3) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Vec3) EqualMessageVT ¶
func (*Vec3) MarshalJSON ¶
MarshalJSON marshals the Vec3 to JSON.
func (*Vec3) MarshalProtoJSON ¶
func (x *Vec3) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Vec3 message to JSON.
func (*Vec3) MarshalProtoText ¶
func (*Vec3) MarshalToSizedBufferVT ¶
func (*Vec3) ProtoMessage ¶
func (*Vec3) ProtoMessage()
func (*Vec3) UnmarshalJSON ¶
UnmarshalJSON unmarshals the Vec3 from JSON.
func (*Vec3) UnmarshalProtoJSON ¶
func (x *Vec3) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Vec3 message from JSON.
func (*Vec3) UnmarshalVT ¶
Click to show internal directories.
Click to hide internal directories.