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

