Class SkeletonMask
The skinned model skeleton bones boolean masking data.
Inherited Members
Assembly: FlaxEngine.dll
File: Engine/Content/Assets/SkeletonMask.h
Syntax
public class SkeletonMask : public BinaryAsset
Fields
Skeleton
The referenced skinned model skeleton that defines the masked nodes hierarchy.
Declaration
public AssetReference<SkinnedModel> Skeleton
Field Value
AssetReference<SkinnedModel>
|
Methods
getChunksToPreload()
Gets packed chunks indices to preload before asset loading action
Declaration
protected virtual AssetChunksFlag getChunksToPreload() const override
Returns
AssetChunksFlag
Chunks to load flags |
Overrides
GetMaskedNodes()
Gets the per-skeleton node mask (by name).
Declaration
public Array<String> GetMaskedNodes() const
Returns
Array<String>
The masked nodes names list. |
GetNodesMask()
Gets the per-skeleton-node boolean mask (read-only).
Declaration
public BitArray GetNodesMask()
Returns
BitArray
The constant reference to the skeleton nodes mask. |
GetReferences(Array<Guid>& assets, Array<String>& files)
Declaration
public void GetReferences(Array<Guid>& assets, Array<String>& files) const override
Parameters
Array<Guid>
assets
|
Array<String>
files
|
load()
Load data from the chunks
Declaration
protected virtual LoadResult load() override
Returns
LoadResult
Loading result |
Overrides
Save(const StringView& path=StringView::Empty)
Saves this asset to the file. Supported only in Editor.
Declaration
public virtual bool Save(const StringView& path=StringView::Empty) override
Parameters
StringView
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
bool
True when cannot save data, otherwise false. |
Overrides
SetMaskedNodes(const Array<String>& value)
Sets the per-skeleton node mask (by name).
Declaration
public void SetMaskedNodes(const Array<String>& value)
Parameters
Array<String>
value
The masked nodes names list. |
unload(bool isReloading)
Unloads asset data
Declaration
protected virtual void unload(bool isReloading) override
Parameters
bool
isReloading
True if asset is reloading data, otherwise false. |