Class AnimationSamplerModel
This wraps an animation sampler.
Namespace: Evergine.Framework.Assets.GltfModel
Assembly: Evergine.Framework.dll
Syntax
public class AnimationSamplerModel
Fields
Count
Gets the count values.
Declaration
public int Count
Field Value
| Type | Description |
|---|---|
| int |
Input
The input accessor.
Declaration
public AccessorModel Input
Field Value
| Type | Description |
|---|---|
| AccessorModel |
Interpolation
Specifies the keyframe interpolation method.
Declaration
public AnimationSamplerModel.InterpolationTypes Interpolation
Field Value
| Type | Description |
|---|---|
| AnimationSamplerModel.InterpolationTypes |
Output
The output accessor.
Declaration
public AccessorModel Output
Field Value
| Type | Description |
|---|---|
| AccessorModel |
Methods
Read(BinaryReader)
Reads this asset part.
Declaration
public static AnimationSamplerModel Read(BinaryReader reader)
Parameters
| Type | Name | Description |
|---|---|---|
| BinaryReader | reader | The binary reader. |
Returns
| Type | Description |
|---|---|
| AnimationSamplerModel | The loaded asset part. |
Write(BinaryWriter)
Writes this asset.
Declaration
public void Write(BinaryWriter writer)
Parameters
| Type | Name | Description |
|---|---|---|
| BinaryWriter | writer | The binary writer. |