Class GltfModelExporter.AnimationWriter
- Namespace
- ValveResourceFormat.IO
- Assembly
- ValveResourceFormat.dll
Manages the writing of skeletal animation data to glTF format.
public class GltfModelExporter.AnimationWriter
Inheritance
Inherited Members
Constructors
AnimationWriter(Skeleton, FlexController[])
Initializes a new instance of the ValveResourceFormat.IO.GltfModelExporter.AnimationWriter class.
public AnimationWriter(Skeleton skeleton, FlexController[] flexControllers)
Parameters
skeleton
SkeletonflexControllers
FlexController[]
Methods
WriteAnimation(ModelRoot, Node[], Animation)
Writes a skeletal animation to the glTF model.
public void WriteAnimation(ModelRoot model, Node[] joints, Animation animation)
Parameters
model
ModelRootjoints
Node[]animation
Animation