Documentation
¶
Index ¶
- Variables
- type CameraKeyframe
- func (m *CameraKeyframe) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *CameraKeyframe) CloneVT() *CameraKeyframe
- func (this *CameraKeyframe) EqualMessageVT(thatMsg any) bool
- func (this *CameraKeyframe) EqualVT(that *CameraKeyframe) bool
- func (x *CameraKeyframe) GetAngles() *EulerAngles
- func (x *CameraKeyframe) GetAspectRatio() float64
- func (x *CameraKeyframe) GetPosition() *Vec3
- func (x *CameraKeyframe) GetTime() float64
- func (x *CameraKeyframe) MarshalJSON() ([]byte, error)
- func (x *CameraKeyframe) MarshalProtoJSON(s *json.MarshalState)
- func (x *CameraKeyframe) MarshalProtoText() string
- func (m *CameraKeyframe) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CameraKeyframe) MarshalToVT(dAtA []byte) (int, error)
- func (m *CameraKeyframe) MarshalVT() (dAtA []byte, err error)
- func (*CameraKeyframe) ProtoMessage()
- func (x *CameraKeyframe) Reset()
- func (m *CameraKeyframe) SizeVT() (n int)
- func (x *CameraKeyframe) String() string
- func (x *CameraKeyframe) UnmarshalJSON(b []byte) error
- func (x *CameraKeyframe) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *CameraKeyframe) UnmarshalVT(dAtA []byte) error
- type CameraPath
- func (m *CameraPath) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *CameraPath) CloneVT() *CameraPath
- func (this *CameraPath) EqualMessageVT(thatMsg any) bool
- func (this *CameraPath) EqualVT(that *CameraPath) bool
- func (x *CameraPath) GetInterpolation() Interpolation
- func (x *CameraPath) GetKeys() []*CameraKeyframe
- func (x *CameraPath) GetLensInterpolation() Interpolation
- func (x *CameraPath) GetRotationMode() RotationMode
- func (x *CameraPath) MarshalJSON() ([]byte, error)
- func (x *CameraPath) MarshalProtoJSON(s *json.MarshalState)
- func (x *CameraPath) MarshalProtoText() string
- func (m *CameraPath) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CameraPath) MarshalToVT(dAtA []byte) (int, error)
- func (m *CameraPath) MarshalVT() (dAtA []byte, err error)
- func (*CameraPath) ProtoMessage()
- func (x *CameraPath) Reset()
- func (m *CameraPath) SizeVT() (n int)
- func (x *CameraPath) String() string
- func (x *CameraPath) UnmarshalJSON(b []byte) error
- func (x *CameraPath) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *CameraPath) UnmarshalVT(dAtA []byte) error
- type CameraPose
- func (m *CameraPose) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *CameraPose) CloneVT() *CameraPose
- func (this *CameraPose) EqualMessageVT(thatMsg any) bool
- func (this *CameraPose) EqualVT(that *CameraPose) bool
- func (x *CameraPose) GetAngles() *EulerAngles
- func (x *CameraPose) GetAspectRatio() float64
- func (x *CameraPose) GetPosition() *Vec3
- func (x *CameraPose) MarshalJSON() ([]byte, error)
- func (x *CameraPose) MarshalProtoJSON(s *json.MarshalState)
- func (x *CameraPose) MarshalProtoText() string
- func (m *CameraPose) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CameraPose) MarshalToVT(dAtA []byte) (int, error)
- func (m *CameraPose) MarshalVT() (dAtA []byte, err error)
- func (*CameraPose) ProtoMessage()
- func (x *CameraPose) Reset()
- func (m *CameraPose) SizeVT() (n int)
- func (x *CameraPose) String() string
- func (x *CameraPose) UnmarshalJSON(b []byte) error
- func (x *CameraPose) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *CameraPose) UnmarshalVT(dAtA []byte) error
- 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 Interpolation
- func (x Interpolation) Enum() *Interpolation
- func (x Interpolation) MarshalJSON() ([]byte, error)
- func (x Interpolation) MarshalProtoJSON(s *json.MarshalState)
- func (x Interpolation) MarshalProtoText() string
- func (x Interpolation) MarshalText() ([]byte, error)
- func (x Interpolation) String() string
- func (x *Interpolation) UnmarshalJSON(b []byte) error
- func (x *Interpolation) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (x *Interpolation) UnmarshalText(b []byte) error
- type RotationMode
- func (x RotationMode) Enum() *RotationMode
- func (x RotationMode) MarshalJSON() ([]byte, error)
- func (x RotationMode) MarshalProtoJSON(s *json.MarshalState)
- func (x RotationMode) MarshalProtoText() string
- func (x RotationMode) MarshalText() ([]byte, error)
- func (x RotationMode) String() string
- func (x *RotationMode) UnmarshalJSON(b []byte) error
- func (x *RotationMode) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (x *RotationMode) UnmarshalText(b []byte) error
- type StaminaEvidence
- func (m *StaminaEvidence) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *StaminaEvidence) CloneVT() *StaminaEvidence
- func (this *StaminaEvidence) EqualMessageVT(thatMsg any) bool
- func (this *StaminaEvidence) EqualVT(that *StaminaEvidence) bool
- func (x *StaminaEvidence) GetEpoch() uint64
- func (x *StaminaEvidence) GetTotalSpent() float64
- func (x *StaminaEvidence) MarshalJSON() ([]byte, error)
- func (x *StaminaEvidence) MarshalProtoJSON(s *json.MarshalState)
- func (x *StaminaEvidence) MarshalProtoText() string
- func (m *StaminaEvidence) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StaminaEvidence) MarshalToVT(dAtA []byte) (int, error)
- func (m *StaminaEvidence) MarshalVT() (dAtA []byte, err error)
- func (*StaminaEvidence) ProtoMessage()
- func (x *StaminaEvidence) Reset()
- func (m *StaminaEvidence) SizeVT() (n int)
- func (x *StaminaEvidence) String() string
- func (x *StaminaEvidence) UnmarshalJSON(b []byte) error
- func (x *StaminaEvidence) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *StaminaEvidence) 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 ¶
var ( Interpolation_name = map[int32]string{ 0: "INTERPOLATION_UNSPECIFIED", 1: "INTERPOLATION_LINEAR", 2: "INTERPOLATION_SMOOTH", 3: "INTERPOLATION_STEP", } Interpolation_value = map[string]int32{ "INTERPOLATION_UNSPECIFIED": 0, "INTERPOLATION_LINEAR": 1, "INTERPOLATION_SMOOTH": 2, "INTERPOLATION_STEP": 3, } )
Enum value maps for Interpolation.
var ( RotationMode_name = map[int32]string{ 0: "ROTATION_MODE_UNSPECIFIED", 1: "ROTATION_MODE_SHORTEST", 2: "ROTATION_MODE_UNWRAPPED", } RotationMode_value = map[string]int32{ "ROTATION_MODE_UNSPECIFIED": 0, "ROTATION_MODE_SHORTEST": 1, "ROTATION_MODE_UNWRAPPED": 2, } )
Enum value maps for RotationMode.
Functions ¶
This section is empty.
Types ¶
type CameraKeyframe ¶
type CameraKeyframe struct {
// Time is the shot-relative second of this key; keys are strictly
// increasing and nonnegative.
Time float64 `protobuf:"fixed64,1,opt,name=time,proto3" json:"time,omitempty"`
// Position is the world-space camera position.
Position *Vec3 `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
// Angles is the camera orientation in degrees.
Angles *EulerAngles `protobuf:"bytes,3,opt,name=angles,proto3" json:"angles,omitempty"`
// AspectRatio is the authored framing ratio at this key.
AspectRatio float64 `protobuf:"fixed64,4,opt,name=aspect_ratio,json=aspectRatio,proto3" json:"aspectRatio,omitempty"`
// contains filtered or unexported fields
}
CameraKeyframe is one authored camera pose at a shot-relative time.
func (*CameraKeyframe) CloneMessageVT ¶
func (m *CameraKeyframe) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*CameraKeyframe) CloneVT ¶
func (m *CameraKeyframe) CloneVT() *CameraKeyframe
func (*CameraKeyframe) EqualMessageVT ¶
func (this *CameraKeyframe) EqualMessageVT(thatMsg any) bool
func (*CameraKeyframe) EqualVT ¶
func (this *CameraKeyframe) EqualVT(that *CameraKeyframe) bool
func (*CameraKeyframe) GetAngles ¶
func (x *CameraKeyframe) GetAngles() *EulerAngles
func (*CameraKeyframe) GetAspectRatio ¶
func (x *CameraKeyframe) GetAspectRatio() float64
func (*CameraKeyframe) GetPosition ¶
func (x *CameraKeyframe) GetPosition() *Vec3
func (*CameraKeyframe) GetTime ¶
func (x *CameraKeyframe) GetTime() float64
func (*CameraKeyframe) MarshalJSON ¶
func (x *CameraKeyframe) MarshalJSON() ([]byte, error)
MarshalJSON marshals the CameraKeyframe to JSON.
func (*CameraKeyframe) MarshalProtoJSON ¶
func (x *CameraKeyframe) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the CameraKeyframe message to JSON.
func (*CameraKeyframe) MarshalProtoText ¶
func (x *CameraKeyframe) MarshalProtoText() string
func (*CameraKeyframe) MarshalToSizedBufferVT ¶
func (m *CameraKeyframe) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CameraKeyframe) MarshalToVT ¶
func (m *CameraKeyframe) MarshalToVT(dAtA []byte) (int, error)
func (*CameraKeyframe) MarshalVT ¶
func (m *CameraKeyframe) MarshalVT() (dAtA []byte, err error)
func (*CameraKeyframe) ProtoMessage ¶
func (*CameraKeyframe) ProtoMessage()
func (*CameraKeyframe) Reset ¶
func (x *CameraKeyframe) Reset()
func (*CameraKeyframe) SizeVT ¶
func (m *CameraKeyframe) SizeVT() (n int)
func (*CameraKeyframe) String ¶
func (x *CameraKeyframe) String() string
func (*CameraKeyframe) UnmarshalJSON ¶
func (x *CameraKeyframe) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the CameraKeyframe from JSON.
func (*CameraKeyframe) UnmarshalProtoJSON ¶
func (x *CameraKeyframe) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the CameraKeyframe message from JSON.
func (*CameraKeyframe) UnmarshalVT ¶
func (m *CameraKeyframe) UnmarshalVT(dAtA []byte) error
type CameraPath ¶
type CameraPath struct {
// Keys are the authored camera keyframes in strictly increasing time order.
Keys []*CameraKeyframe `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
// Interpolation selects movement between keys for position and angles.
Interpolation Interpolation `protobuf:"varint,2,opt,name=interpolation,proto3" json:"interpolation,omitempty"`
// RotationMode selects yaw and roll seam handling.
RotationMode RotationMode `protobuf:"varint,3,opt,name=rotation_mode,json=rotationMode,proto3" json:"rotationMode,omitempty"`
// LensInterpolation selects movement for the aspect-ratio channel.
LensInterpolation Interpolation `protobuf:"varint,4,opt,name=lens_interpolation,json=lensInterpolation,proto3" json:"lensInterpolation,omitempty"`
// contains filtered or unexported fields
}
CameraPath is an authored, validated camera path. Evaluation is deterministic and stateless: forward playback and rewinds are identical.
func (*CameraPath) CloneMessageVT ¶
func (m *CameraPath) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*CameraPath) CloneVT ¶
func (m *CameraPath) CloneVT() *CameraPath
func (*CameraPath) EqualMessageVT ¶
func (this *CameraPath) EqualMessageVT(thatMsg any) bool
func (*CameraPath) EqualVT ¶
func (this *CameraPath) EqualVT(that *CameraPath) bool
func (*CameraPath) GetInterpolation ¶
func (x *CameraPath) GetInterpolation() Interpolation
func (*CameraPath) GetKeys ¶
func (x *CameraPath) GetKeys() []*CameraKeyframe
func (*CameraPath) GetLensInterpolation ¶
func (x *CameraPath) GetLensInterpolation() Interpolation
func (*CameraPath) GetRotationMode ¶
func (x *CameraPath) GetRotationMode() RotationMode
func (*CameraPath) MarshalJSON ¶
func (x *CameraPath) MarshalJSON() ([]byte, error)
MarshalJSON marshals the CameraPath to JSON.
func (*CameraPath) MarshalProtoJSON ¶
func (x *CameraPath) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the CameraPath message to JSON.
func (*CameraPath) MarshalProtoText ¶
func (x *CameraPath) MarshalProtoText() string
func (*CameraPath) MarshalToSizedBufferVT ¶
func (m *CameraPath) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CameraPath) MarshalToVT ¶
func (m *CameraPath) MarshalToVT(dAtA []byte) (int, error)
func (*CameraPath) MarshalVT ¶
func (m *CameraPath) MarshalVT() (dAtA []byte, err error)
func (*CameraPath) ProtoMessage ¶
func (*CameraPath) ProtoMessage()
func (*CameraPath) Reset ¶
func (x *CameraPath) Reset()
func (*CameraPath) SizeVT ¶
func (m *CameraPath) SizeVT() (n int)
func (*CameraPath) String ¶
func (x *CameraPath) String() string
func (*CameraPath) UnmarshalJSON ¶
func (x *CameraPath) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the CameraPath from JSON.
func (*CameraPath) UnmarshalProtoJSON ¶
func (x *CameraPath) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the CameraPath message from JSON.
func (*CameraPath) UnmarshalVT ¶
func (m *CameraPath) UnmarshalVT(dAtA []byte) error
type CameraPose ¶
type CameraPose struct {
// Position is the world-space camera position.
Position *Vec3 `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"`
// Angles is the camera orientation in degrees.
Angles *EulerAngles `protobuf:"bytes,2,opt,name=angles,proto3" json:"angles,omitempty"`
// AspectRatio is the framing ratio at this instant.
AspectRatio float64 `protobuf:"fixed64,3,opt,name=aspect_ratio,json=aspectRatio,proto3" json:"aspectRatio,omitempty"`
// contains filtered or unexported fields
}
CameraPose is one evaluated camera state: position, orientation, and framing at one instant.
func (*CameraPose) CloneMessageVT ¶
func (m *CameraPose) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*CameraPose) CloneVT ¶
func (m *CameraPose) CloneVT() *CameraPose
func (*CameraPose) EqualMessageVT ¶
func (this *CameraPose) EqualMessageVT(thatMsg any) bool
func (*CameraPose) EqualVT ¶
func (this *CameraPose) EqualVT(that *CameraPose) bool
func (*CameraPose) GetAngles ¶
func (x *CameraPose) GetAngles() *EulerAngles
func (*CameraPose) GetAspectRatio ¶
func (x *CameraPose) GetAspectRatio() float64
func (*CameraPose) GetPosition ¶
func (x *CameraPose) GetPosition() *Vec3
func (*CameraPose) MarshalJSON ¶
func (x *CameraPose) MarshalJSON() ([]byte, error)
MarshalJSON marshals the CameraPose to JSON.
func (*CameraPose) MarshalProtoJSON ¶
func (x *CameraPose) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the CameraPose message to JSON.
func (*CameraPose) MarshalProtoText ¶
func (x *CameraPose) MarshalProtoText() string
func (*CameraPose) MarshalToSizedBufferVT ¶
func (m *CameraPose) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CameraPose) MarshalToVT ¶
func (m *CameraPose) MarshalToVT(dAtA []byte) (int, error)
func (*CameraPose) MarshalVT ¶
func (m *CameraPose) MarshalVT() (dAtA []byte, err error)
func (*CameraPose) ProtoMessage ¶
func (*CameraPose) ProtoMessage()
func (*CameraPose) Reset ¶
func (x *CameraPose) Reset()
func (*CameraPose) SizeVT ¶
func (m *CameraPose) SizeVT() (n int)
func (*CameraPose) String ¶
func (x *CameraPose) String() string
func (*CameraPose) UnmarshalJSON ¶
func (x *CameraPose) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the CameraPose from JSON.
func (*CameraPose) UnmarshalProtoJSON ¶
func (x *CameraPose) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the CameraPose message from JSON.
func (*CameraPose) UnmarshalVT ¶
func (m *CameraPose) UnmarshalVT(dAtA []byte) error
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 Interpolation ¶
type Interpolation int32
Interpolation selects how values move between authored keys.
const ( // INTERPOLATION_UNSPECIFIED is the unspecified interpolation. Interpolation_INTERPOLATION_UNSPECIFIED Interpolation = 0 // INTERPOLATION_LINEAR moves at a constant rate between keys. Interpolation_INTERPOLATION_LINEAR Interpolation = 1 // INTERPOLATION_SMOOTH uses shape-preserving cubic Hermite between keys. Interpolation_INTERPOLATION_SMOOTH Interpolation = 2 // INTERPOLATION_STEP holds the previous key's value until the next key. Interpolation_INTERPOLATION_STEP Interpolation = 3 )
func (Interpolation) Enum ¶
func (x Interpolation) Enum() *Interpolation
func (Interpolation) MarshalJSON ¶
func (x Interpolation) MarshalJSON() ([]byte, error)
MarshalJSON marshals the Interpolation to JSON.
func (Interpolation) MarshalProtoJSON ¶
func (x Interpolation) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Interpolation to JSON.
func (Interpolation) MarshalProtoText ¶
func (x Interpolation) MarshalProtoText() string
func (Interpolation) MarshalText ¶
func (x Interpolation) MarshalText() ([]byte, error)
MarshalText marshals the Interpolation to text.
func (Interpolation) String ¶
func (x Interpolation) String() string
func (*Interpolation) UnmarshalJSON ¶
func (x *Interpolation) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the Interpolation from JSON.
func (*Interpolation) UnmarshalProtoJSON ¶
func (x *Interpolation) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Interpolation from JSON.
func (*Interpolation) UnmarshalText ¶
func (x *Interpolation) UnmarshalText(b []byte) error
UnmarshalText unmarshals the Interpolation from text.
type RotationMode ¶
type RotationMode int32
RotationMode selects how yaw and roll cross the 180-degree seam.
const ( // ROTATION_MODE_UNSPECIFIED is the unspecified rotation mode. RotationMode_ROTATION_MODE_UNSPECIFIED RotationMode = 0 // ROTATION_MODE_SHORTEST travels the shorter arc between keys. RotationMode_ROTATION_MODE_SHORTEST RotationMode = 1 // ROTATION_MODE_UNWRAPPED preserves authored full turns. RotationMode_ROTATION_MODE_UNWRAPPED RotationMode = 2 )
func (RotationMode) Enum ¶
func (x RotationMode) Enum() *RotationMode
func (RotationMode) MarshalJSON ¶
func (x RotationMode) MarshalJSON() ([]byte, error)
MarshalJSON marshals the RotationMode to JSON.
func (RotationMode) MarshalProtoJSON ¶
func (x RotationMode) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the RotationMode to JSON.
func (RotationMode) MarshalProtoText ¶
func (x RotationMode) MarshalProtoText() string
func (RotationMode) MarshalText ¶
func (x RotationMode) MarshalText() ([]byte, error)
MarshalText marshals the RotationMode to text.
func (RotationMode) String ¶
func (x RotationMode) String() string
func (*RotationMode) UnmarshalJSON ¶
func (x *RotationMode) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the RotationMode from JSON.
func (*RotationMode) UnmarshalProtoJSON ¶
func (x *RotationMode) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the RotationMode from JSON.
func (*RotationMode) UnmarshalText ¶
func (x *RotationMode) UnmarshalText(b []byte) error
UnmarshalText unmarshals the RotationMode from text.
type StaminaEvidence ¶
type StaminaEvidence struct {
// TotalSpent is cumulative consumption in bars during this observation epoch.
TotalSpent float64 `protobuf:"fixed64,1,opt,name=total_spent,json=totalSpent,proto3" json:"totalSpent,omitempty"`
// Epoch changes when observation continuity or the observed pawn changes.
Epoch uint64 `protobuf:"varint,2,opt,name=epoch,proto3" json:"epoch,omitempty"`
// contains filtered or unexported fields
}
StaminaEvidence is a complete server-observed expenditure counter for one player session. Only the native consumption observer supplies this record; snapshots of the regenerating stamina bar cannot establish this counter.
func (*StaminaEvidence) CloneMessageVT ¶
func (m *StaminaEvidence) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*StaminaEvidence) CloneVT ¶
func (m *StaminaEvidence) CloneVT() *StaminaEvidence
func (*StaminaEvidence) EqualMessageVT ¶
func (this *StaminaEvidence) EqualMessageVT(thatMsg any) bool
func (*StaminaEvidence) EqualVT ¶
func (this *StaminaEvidence) EqualVT(that *StaminaEvidence) bool
func (*StaminaEvidence) GetEpoch ¶
func (x *StaminaEvidence) GetEpoch() uint64
func (*StaminaEvidence) GetTotalSpent ¶
func (x *StaminaEvidence) GetTotalSpent() float64
func (*StaminaEvidence) MarshalJSON ¶
func (x *StaminaEvidence) MarshalJSON() ([]byte, error)
MarshalJSON marshals the StaminaEvidence to JSON.
func (*StaminaEvidence) MarshalProtoJSON ¶
func (x *StaminaEvidence) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the StaminaEvidence message to JSON.
func (*StaminaEvidence) MarshalProtoText ¶
func (x *StaminaEvidence) MarshalProtoText() string
func (*StaminaEvidence) MarshalToSizedBufferVT ¶
func (m *StaminaEvidence) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*StaminaEvidence) MarshalToVT ¶
func (m *StaminaEvidence) MarshalToVT(dAtA []byte) (int, error)
func (*StaminaEvidence) MarshalVT ¶
func (m *StaminaEvidence) MarshalVT() (dAtA []byte, err error)
func (*StaminaEvidence) ProtoMessage ¶
func (*StaminaEvidence) ProtoMessage()
func (*StaminaEvidence) Reset ¶
func (x *StaminaEvidence) Reset()
func (*StaminaEvidence) SizeVT ¶
func (m *StaminaEvidence) SizeVT() (n int)
func (*StaminaEvidence) String ¶
func (x *StaminaEvidence) String() string
func (*StaminaEvidence) UnmarshalJSON ¶
func (x *StaminaEvidence) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the StaminaEvidence from JSON.
func (*StaminaEvidence) UnmarshalProtoJSON ¶
func (x *StaminaEvidence) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the StaminaEvidence message from JSON.
func (*StaminaEvidence) UnmarshalVT ¶
func (m *StaminaEvidence) 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.