Class MeshMorphKey
Binds a morph animation mesh to a specific point in time.
Implements
Inherited Members
Namespace: SharpAssimp
Assembly: SharpAssimp.dll
Syntax
public sealed class MeshMorphKey : IMarshalable<MeshMorphKey, AiMeshMorphKey>
Constructors
| Edit this page View SourceMeshMorphKey()
Constructs a new instance of the MeshMorphKey class.
Declaration
public MeshMorphKey()
Properties
| Edit this page View SourceTime
Gets or sets the time of this keyframe.
Declaration
public double Time { get; set; }
Property Value
Type | Description |
---|---|
double |
Values
Gets the values at the time of this keyframe. Number of values must equal number of weights.
Declaration
public List<int> Values { get; }
Property Value
Type | Description |
---|---|
List<int> |
Weights
Gets the weights at the time of this keyframe. Number of weights must equal number of values.
Declaration
public List<double> Weights { get; }
Property Value
Type | Description |
---|---|
List<double> |
Methods
| Edit this page View SourceFreeNative(nint, bool)
Frees unmanaged memory created by ToNative(nint, out Native).
Declaration
public static void FreeNative(nint nativeValue, bool freeNative)
Parameters
Type | Name | Description |
---|---|---|
nint | nativeValue | Native value to free |
bool | freeNative | True if the unmanaged memory should be freed, false otherwise. |