Class SkeletonMask
The skinned model skeleton bones boolean masking data.
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public class SkeletonMask : BinaryAsset
Constructors
SkeletonMask()
Properties
MaskedNodes
Gets or sets the per-skeleton node mask (by name).
Declaration
[Unmanaged]
public string[] MaskedNodes { get; set; }
Property Value
System.String[]
|
NodesMask
Gets the per-skeleton-node boolean mask (read-only).
Declaration
[Unmanaged]
public bool[] NodesMask { get; }
Property Value
System.Boolean[]
|
Skeleton
The referenced skinned model skeleton that defines the masked nodes hierarchy.
Declaration
[Unmanaged]
public SkinnedModel Skeleton { get; set; }
Property Value
SkinnedModel
|
Methods
Save(String)
Saves this asset to the file. Supported only in Editor.
Declaration
[Unmanaged]
public bool Save(string path = null)
Parameters
System.String
path
The custom asset path to use for the saving. Use empty value to save this asset to its own storage location. Can be used to duplicate asset. Must be specified when saving virtual asset. |
Returns
System.Boolean
True if cannot save data, otherwise false. |