Navigation
API > API/Plugins > API/Plugins/CustomizableObject > API/Plugins/CustomizableObject/MuCO
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- USceneComponent
- UCustomizableSkeletalComponent
References
| Module | CustomizableObject |
| Header | /Engine/Plugins/Experimental/Mutable/Source/CustomizableObject/Classes/MuCO/CustomizableSkeletalComponent.h |
| Include | #include "MuCO/CustomizableSkeletalComponent.h" |
Syntax
UCLASS&40;Blueprintable, BlueprintType, ClassGroup&61;&40;CustomizableObject&41;,
Meta&61;&40;BlueprintSpawnableComponent&41;&41;
class UCustomizableSkeletalComponent : public USceneComponent
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bPendingSetSkeletalMesh | Used to replace the SkeletalMesh of the parent component by the ReferenceSkeletalMesh or the generated SkeletalMesh. | |
| bool | bSkipSetReferenceSkeletalMesh | Used to avoid replacing the SkeletalMesh of the parent component by the ReferenceSkeletalMesh if bPendingSetSkeletalMesh is true. | |
| int32 | ComponentIndex | ||
| TObjectPtr< UCustomizableObjectInstance > | CustomizableObjectInstance | ||
| FCustomizableSkeletalComponentPreUpdateDelegate | PreUpdateDelegate | ||
| float | SkippedLastRenderTime | ||
| FCustomizableSkeletalComponentUpdatedDelegate | UpdatedDelegate |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Callbacks () |
Common end point of all updates. Even those which failed. | |
| void | |||
| USkeletalMesh * | |||
| USkeletalMesh * | |||
| void | SetPhysicsAsset
(
UPhysicsAsset* PhysicsAsset |
||
| void | SetSkeletalMesh
(
USkeletalMesh* SkeletalMesh, |
||
| void | SetVisibilityOfSkeletalMeshSectionWithMaterialName
(
bool bVisible, |
||
| void | UpdateDistFromComponentToLevelEditorCamera
(
const FVector& CameraPosition |
Used to generate instances outside the CustomizableObject editor and PIE. | |
| void | UpdateDistFromComponentToPlayer
(
const AActor*const Pawn, |
||
| void | UpdateSkeletalMeshAsync
(
bool bNeverSkipUpdate |
Update Skeletal Mesh asynchronously. | |
| void | UpdateSkeletalMeshAsyncResult
(
FInstanceUpdateDelegate Callback, |
Update Skeletal Mesh asynchronously. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | BeginDestroy () |
Called before destroying the object. |