Navigation
API > API/Plugins > API/Plugins/DirectMeshControlRig
FRigUnit_SetupShapeLibraryFromLayer reads a polygroup triangle label layer from the source skeletal mesh, generates per-polygroup sub-meshes and registers a UControlRigShapeLibrary out of it.
| Name | FRigUnit_SetupShapeLibraryFromLayer |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/Animation/DirectMeshControl/Source/DirectMeshControlRig/Public/Units/RigUnit_DirectMeshControl.h |
| Include Path | #include "Units/RigUnit_DirectMeshControl.h" |
Syntax
USTRUCT (
Meta=(DisplayName="Set Shape Library from Layer", Keywords="Direct Mesh Control, Surface Selection", Varying))
struct FRigUnit_SetupShapeLibraryFromLayer : public FRigUnit_DynamicHierarchyBaseMutable
Inheritance Hierarchy
- FRigVMStruct → FRigUnit → FRigUnitMutable → FRigUnit_DynamicHierarchyBaseMutable → FRigUnit_SetupShapeLibraryFromLayer
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRigUnit_SetupShapeLibraryFromLayer() |
Units/RigUnit_DirectMeshControl.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| GroupNames | TArray< FName > | The extracted groups | Units/RigUnit_DirectMeshControl.h |
|
| LayerName | FName | The layer to extract | Units/RigUnit_DirectMeshControl.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
RIGVM_METHOD() |
Units/RigUnit_DirectMeshControl.h |