Class CCompressedDeltaVector3
Namespace: ValveResourceFormat.ResourceTypes.ModelAnimation.SegmentDecoders
Assembly: ValveResourceFormat.dll
Decodes delta-compressed Vector3 animation data with a base value and half-precision deltas.
public class CCompressedDeltaVector3 : AnimationSegmentDecoderInheritance
object ← AnimationSegmentDecoder ← CCompressedDeltaVector3
Inherited Members
AnimationSegmentDecoder.Data, AnimationSegmentDecoder.WantedElements, AnimationSegmentDecoder.ElementCount, AnimationSegmentDecoder.RemapTable, AnimationSegmentDecoder.ChannelAttribute, AnimationSegmentDecoder.Initialize(ArraySegment<byte>, int[], int[], AnimationChannelAttribute, int), AnimationSegmentDecoder.Read(int, Frame)
Methods
Read(int, Frame)
Reads and decodes animation data for a specific frame.
public override void Read(int frameIndex, Frame outFrame)Parameters
frameIndex int
The index of the frame to read.
outFrame Frame
The frame object to populate with decoded data.
Remarks
Reads a base Vector3 and adds a half-precision delta to produce the final value.

