Navigation
API > API/Plugins > API/Plugins/CustomizableObject > API/Plugins/CustomizableObject/MuCO
Inheritance Hierarchy
- UObject
- UCustomizableObject
References
| Module | CustomizableObject |
| Header | /Engine/Plugins/Mutable/Source/CustomizableObject/Public/MuCO/CustomizableObject.h |
| Include | #include "MuCO/CustomizableObject.h" |
Syntax
UCLASS (BlueprintType, Config=Engine)
class UCustomizableObject : public UObject
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bDisableTableMaterialsParentCheck | Disabling the Table Materials parent material check will let the user use any material regardless of its parent when connecting a material from a table column to a material node. | |
| bool | bEnable16BitBoneWeights | ||
| bool | bEnableAltSkinWeightProfiles | ||
| bool | bEnableAnimBpPhysicsAssetsManipualtion | Experimental | |
| bool | bEnableAssetUserDataMerge | When this is enabled generated meshes will merge the AssetUserData from all of its constituent mesh parts. | |
| bool | bEnableClothing | ||
| bool | bEnableMeshCache | If true, reuse previously generated USkeletalMesh (if still valid and the the number of LOD have not changed) USkeletalMeshes are only reused between the same CO. | |
| bool | bEnableMeshStreaming | Experimental - If true, Mesh LODs will be streamed on demand. | |
| bool | bEnablePhysicsAssetMerge | ||
| bool | bEnableRealTimeMorphTargets | ||
| bool | bEnableUseRefSkeletalMeshAsPlaceholder | Use the SkeletalMesh of reference as a placeholder until the custom mesh is ready to use. | |
| bool | bPreserveUserLODsOnFirstGeneration | Use the Instance MinLOD, and RequestedLODs in the descriptor when performing the initial generation (ignore LOD Management). | |
| FMutableLODSettings | LODSettings | ||
| EMutableCompileMeshType | MeshCompileType | Options when compiling this customizable object (see EMutableCompileMeshType declaration for info) | |
| TObjectPtr< UObject > | VersionBridge | The optional VersionBridge asset, which must implement the ICustomizableObjectVersionBridgeInterface, will be used to decide which Mutable child CustomizableObjects and table rows must be included in a compilation/cook depending on its version struct/column by comparing it to the game-specific version system. | |
| FInstancedStruct | VersionStruct | This optional struct is used to define which version this child CustomizableObject belongs to. | |
| TArray< TSoftObjectPtr< UCustomizableObject > > | WorkingSet | Array of elements to use with compile option CompileType = WorkingSet. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BeginCacheForCookedPlatformData
(
const ITargetPlatform* TargetPlatform |
||
| bool | Compile the object if Automatic Compilation is enabled and has not been already compiled. | ||
| UCustomizableObjectInstance * | Create a new instance of this object. | ||
| int32 | FindIntParameterValue
(
int32 ParamIndex, |
||
| FString | FindIntParameterValueName
(
int32 ParamIndex, |
||
| int32 | FindParameter
(
const FString& Name |
Get the index of a parameter from its name. Return -1 if the parameter is not found. | |
| int32 | |||
| void | GetAssetRegistryTags
(
TArray< FAssetRegistryTag >& OutTags |
||
| void | GetAssetRegistryTags
(
FAssetRegistryTagsContext Context |
||
| bool | GetBoolParameterDefaultValue
(
UPARAM(DisplayName="Parameter Name") const FString& InParameterName |
Get the default value of a parameter of type Bool. | |
| FLinearColor | GetColorParameterDefaultValue
(
UPARAM(DisplayName="Parameter Name") const FString& InParameterName |
Get the default value of a parameter of type Color. | |
| int32 | Get the number of components this Customizable Object has. | ||
| USkeletalMesh * | GetComponentMeshReferenceSkeletalMesh
(
const FName& Name |
Given a Mesh Component name, return its reference Skeletal Mesh. | |
| FName | GetComponentName
(
int32 ObjectComponentIndex |
Return the name of the component. | |
| FString | GetDesc () |
Returns a one line description of an object for viewing in the thumbnail view of the generic browser | |
| float | GetFloatParameterDefaultValue
(
UPARAM(DisplayName="Parameter Name") const FString& InParameterName |
Get the default value of a parameter of type Float. | |
| const FString & | GetIntParameterAvailableOption
(
int32 ParamIndex, |
Gets the Name of the option at position K in the list of available options for the int parameter. | |
| int32 | GetIntParameterDefaultValue
(
UPARAM(DisplayName="Parameter Name") const FString& InParameterName |
Get the default value of a parameter of type Int. | |
| ECustomizableObjectGroupType | GetIntParameterGroupType
(
const FString& ParamName |
Returns the group type of the given integer parameter | |
| int32 | GetIntParameterNumOptions
(
int32 ParamIndex |
Returns how many possible options an int parameter has, if the parameter is an enumeration. | |
| TArray< TSoftObjectPtr< UDataTable > > | GetIntParameterOptionDataTable
(
const FString& ParamName, |
Return the DataTables used by the given parameter and its value (if any). | |
| FMutableParamUIMetadata | GetIntParameterOptionUIMetadata
(
const FString& ParamName, |
Return the metadata associated to an int parameter option. | |
| int32 | GetNumLODs () |
||
| int32 | Get the number of parameters available in instances of this object. | ||
| int32 | GetParameterDescriptionCount
(
const FString& ParamName |
Deprecated. It will always return 0. | |
| const FString & | GetParameterName
(
int32 ParamIndex |
Get the name of a parameter from its index. | |
| EMutableParameterType | GetParameterType
(
int32 ParamIndex |
Get the type of a parameter from its index. | |
| EMutableParameterType | GetParameterTypeByName
(
const FString& Name |
Get the type of a parameter from its name. | |
| FMutableParamUIMetadata | GetParameterUIMetadata
(
const FString& ParamName |
Return the metadata associated to a parameter. | |
| FPostCompileDelegate & | |||
| UCustomizableObjectPrivate * | GetPrivate () |
||
| const UCustomizableObjectPrivate * | GetPrivate () |
||
| void | GetProjectorParameterDefaultValue
(
UPARAM(DisplayName="Parameter Name") const FString& InParameterName, |
Get the default value of a parameter of type Projector. | |
| FCustomizableObjectProjector | GetProjectorParameterDefaultValue
(
const FString& InParameterName |
Get the default value of a projector with the provided name | |
| USkeletalMesh * | GetRefSkeletalMesh
(
int32 ObjectComponentIndex |
DEPRECATED. | |
| int32 | Return the number of object states that are defined in the CustomizableObject. | ||
| FString | GetStateName
(
int32 StateIndex |
Return the name of an object state from its index. | |
| int32 | GetStateParameterCount
(
const FString& StateName |
Return the number of parameters that are editable at runtime for a specific state. | |
| int32 | GetStateParameterCount
(
int32 StateIndex |
||
| int32 | GetStateParameterIndex
(
int32 StateIndex, |
||
| FString | GetStateParameterName
(
int32 StateIndex, |
||
| FString | GetStateParameterName
(
const FString& StateName, |
Return the name of one of the state's runtime parameters, by its index (from 0 to GetStateParameterCount-1). | |
| FMutableStateUIMetadata | GetStateUIMetadata
(
const FString& StateName |
Return the metadata associated to a state. | |
| FName | GetTextureParameterDefaultValue
(
const FString& InParameterName |
Get the default value of a parameter of type Texture. | |
| FTransform | GetTransformParameterDefaultValue
(
UPARAM(DisplayName="Parameter Name") const FString& InParameterName |
Get the default value of a parameter of type Transform. | |
| bool | IsCachedCookedPlatformDataLoaded
(
const ITargetPlatform* TargetPlatform |
||
| bool | |||
| bool | IsCompiled () |
Check if the CustomizableObject asset has been compiled. | |
| bool | IsEditorOnly () |
||
| bool | IsParameterMultidimensional
(
const int32& InParamIndex |
Return true if the parameter at the index provided is multidimensional. | |
| bool | IsParameterMultidimensional
(
UPARAM(DisplayName="Parameter Name") const FString& InParameterName |
Return true if the parameter at the index provided is multidimensional. | |
| void | PostLoad () |
||
| void | PostRename
(
UObject* OldOuter, |
||
| void | PostSaveRoot
(
FObjectPostSaveRootContext ObjectSaveContext |
||
| void | PreSave
(
FObjectPreSaveContext ObjectSaveContext |
||
| void | Serialize
(
FArchive& Ar |