Navigation
API > API/Plugins > API/Plugins/CustomizableObject
| Name | UCustomizableObject |
| Type | class |
| Header File | /Engine/Plugins/Mutable/Source/CustomizableObject/Public/MuCO/CustomizableObject.h |
| Include Path | #include "MuCO/CustomizableObject.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, Config=Engine)
class UCustomizableObject : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UCustomizableObject
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UCustomizableObject() |
MuCO/CustomizableObject.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bDisableTableMaterialsParentCheck | bool | 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. | MuCO/CustomizableObject.h |
|
| bEnable16BitBoneWeights | bool | MuCO/CustomizableObject.h |
|
|
| bEnableAltSkinWeightProfiles | bool | MuCO/CustomizableObject.h |
|
|
| bEnableAnimBpPhysicsAssetsManipualtion | bool | Experimental | MuCO/CustomizableObject.h |
|
| bEnableAssetUserDataMerge | bool | When this is enabled generated meshes will merge the AssetUserData from all of its constituent mesh parts | MuCO/CustomizableObject.h |
|
| bEnableClothing | bool | MuCO/CustomizableObject.h |
|
|
| bEnableMeshCache | bool | 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. | MuCO/CustomizableObject.h |
|
| bEnableMeshStreaming | bool | Experimental - If true, Mesh LODs will be streamed on demand. | MuCO/CustomizableObject.h |
|
| bEnablePhysicsAssetMerge | bool | MuCO/CustomizableObject.h |
|
|
| bEnableRealTimeMorphTargets | bool | MuCO/CustomizableObject.h |
|
|
| bEnableUseRefSkeletalMeshAsPlaceholder | bool | True to use the Reference Skeletal Mesh as a placeholder while the Generated Skeletal Mesh is not ready. | MuCO/CustomizableObject.h |
|
| bPreserveUserLODsOnFirstGeneration | bool | Use the Instance MinLOD, and RequestedLODs in the descriptor when performing the initial generation (ignore LOD Management). | MuCO/CustomizableObject.h |
|
| LODSettings | FMutableLODSettings | MuCO/CustomizableObject.h |
|
|
| MeshCompileType | EMutableCompileMeshType | Options when compiling this customizable object (see EMutableCompileMeshType declaration for info) | MuCO/CustomizableObject.h |
|
| VersionBridge | TObjectPtr< UObject > | Optional Version Bridge asset. | MuCO/CustomizableObject.h |
|
| VersionStruct | FInstancedStruct | Optional struct. | MuCO/CustomizableObject.h |
|
| WorkingSet | TArray< TSoftObjectPtr< UCustomizableObject > > | Array of elements to use with compile option CompileType = WorkingSet | MuCO/CustomizableObject.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsChildObject | bool | True if this object references a parent object. | MuCO/CustomizableObject.h | |
| BulkData | TObjectPtr< UCustomizableObjectBulk > | BulkData that stores all in-game resources used by Mutable when generating instances. | MuCO/CustomizableObject.h | |
| CustomizableObjectClassTags | TArray< FString > | Customizable Object Population data start ---------------------------------------------------. | MuCO/CustomizableObject.h | |
| CustomizableObjectParametersTags | TMap< FString, FParameterTags > | Map of parameters available for the Customizable Object and their tags | MuCO/CustomizableObject.h | |
| InstancePropertiesProfiles | TArray< FProfileParameterDat > | MuCO/CustomizableObject.h | ||
| LowPriorityTextures | TArray< FName > | Textures marked as low priority will generate defaulted resident mips (if texture streaming is enabled). | MuCO/CustomizableObject.h |
|
| PopulationClassTags | TArray< FString > | Array to store all the Population Class tags | MuCO/CustomizableObject.h | |
| Private | TObjectPtr< UCustomizableObjectPrivate > | MuCO/CustomizableObject.h | ||
| Source | TObjectPtr< UEdGraph > | Editor graph. | MuCO/CustomizableObject.h | |
| UCustomizableObjectPrivate | friend | MuCO/CustomizableObject.h | ||
| VersionId | FGuid | Used to verify the derived data matches this version of the Customizable Object. | MuCO/CustomizableObject.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Compile
(
const FCompileParams& Params |
Compile the Customizable Object. | MuCO/CustomizableObject.h |
|
bool ConditionalAutoCompile () |
DEPRECATED. | MuCO/CustomizableObject.h | |
bool ContainsEnumParameterValue
(
const FString& ParameterName, |
Return true if the enum parameter contains this value a possible option. | MuCO/CustomizableObject.h |
|
bool ContainsParameter
(
const FString& ParameterName |
MuCO/CustomizableObject.h |
|
|
| Create a new instance of this object. | MuCO/CustomizableObject.h |
|
|
int32 FindIntParameterValue
(
int32 ParamIndex, |
MuCO/CustomizableObject.h | ||
FString FindIntParameterValueName
(
int32 ParamIndex, |
MuCO/CustomizableObject.h | ||
int32 FindParameter
(
const FString& Name |
MuCO/CustomizableObject.h |
|
|
int32 FindState
(
const FString& Name |
MuCO/CustomizableObject.h | ||
bool GetBoolParameterDefaultValue
(
const FString& ParameterName |
Get the default value of a parameter of type Bool. | MuCO/CustomizableObject.h |
|
FLinearColor GetColorParameterDefaultValue
(
const FString& ParameterName |
Get the default value of a parameter of type Color. | MuCO/CustomizableObject.h |
|
int32 GetComponentCount() |
Get the number of components this Customizable Object has. | MuCO/CustomizableObject.h |
|
USkeletalMesh * GetComponentMeshReferenceSkeletalMesh
(
const FName& Name |
Given a Mesh Component name, return its reference Skeletal Mesh. | MuCO/CustomizableObject.h |
|
FName GetComponentName
(
int32 ComponentIndex |
Return the name of the component. | MuCO/CustomizableObject.h |
|
int32 GetEnumParameterDefaultValue
(
const FString& ParameterName |
Get the default value of a parameter of type Int. | MuCO/CustomizableObject.h |
|
ECustomizableObjectGroupType GetEnumParameterGroupType
(
const FString& ParamName |
Returns the group type of the given integer parameter | MuCO/CustomizableObject.h |
|
int32 GetEnumParameterNumValues
(
const FString& ParameterName |
If the given parameter is enum int parameter, return how many possible values an enum parameter has. | MuCO/CustomizableObject.h |
|
const FString & GetEnumParameterValue
(
const FString& ParameterName, |
Gets the Name of the value at position ValueIndex in the list of available values for the int parameter. | MuCO/CustomizableObject.h |
|
TArray< TSoftObjectPtr< UDataTable > > GetEnumParameterValueDataTable
(
const FString& ParamName, |
Return the DataTables used by the given parameter and its value (if any). | MuCO/CustomizableObject.h |
|
FMutableParamUIMetadata GetEnumParameterValueUIMetadata
(
const FString& ParamName, |
Return the metadata associated to the given enum parameter value. | MuCO/CustomizableObject.h |
|
float GetFloatParameterDefaultValue
(
const FString& ParameterName |
Get the default value of a parameter of type Float. | MuCO/CustomizableObject.h |
|
const FString & GetIntParameterAvailableOption
(
int32 ParamIndex, |
MuCO/CustomizableObject.h |
|
|
int32 GetIntParameterDefaultValue
(
UPARAM(DisplayName="Parameter Name") const FString& InParameterName |
MuCO/CustomizableObject.h | ||
ECustomizableObjectGroupType GetIntParameterGroupType
(
const FString& ParamName |
MuCO/CustomizableObject.h | ||
int32 GetIntParameterNumOptions
(
int32 ParamIndex |
MuCO/CustomizableObject.h |
|
|
TArray< TSoftObjectPtr< UDataTable > > GetIntParameterOptionDataTable
(
const FString& ParamName, |
MuCO/CustomizableObject.h | ||
FMutableParamUIMetadata GetIntParameterOptionUIMetadata
(
const FString& ParamName, |
MuCO/CustomizableObject.h | ||
int32 GetParameterCount() |
Get the number of parameters available in instances of this object. | MuCO/CustomizableObject.h |
|
const FString & GetParameterName
(
int32 ParamIndex |
MuCO/CustomizableObject.h |
|
|
EMutableParameterType GetParameterType
(
int32 ParamIndex |
MuCO/CustomizableObject.h |
|
|
EMutableParameterType GetParameterTypeByName
(
const FString& Name |
Get the type of a parameter from its name. | MuCO/CustomizableObject.h |
|
FMutableParamUIMetadata GetParameterUIMetadata
(
const FString& ParamName |
Return the metadata associated to a parameter. | MuCO/CustomizableObject.h |
|
FPostCompileDelegate & GetPostCompileDelegate() |
MuCO/CustomizableObject.h | ||
UCustomizableObjectPrivate * GetPrivate () |
MuCO/CustomizableObject.h | ||
const UCustomizableObjectPrivate * GetPrivate () |
MuCO/CustomizableObject.h | ||
FCustomizableObjectProjector GetProjectorParameterDefaultValue
(
const FString& ParameterName |
Get the default value of a projector with the provided name | MuCO/CustomizableObject.h |
|
void GetProjectorParameterDefaultValue
(
UPARAM(DisplayName="Parameter Name") const FString& InParameterName, |
MuCO/CustomizableObject.h | ||
USkeletalMesh * GetRefSkeletalMesh
(
int32 ObjectComponentIndex |
MuCO/CustomizableObject.h | ||
int32 GetStateCount() |
Return the number of object states that are defined in the CustomizableObject. | MuCO/CustomizableObject.h |
|
FString GetStateName
(
int32 StateIndex |
Return the name of an object state from its index. | MuCO/CustomizableObject.h |
|
int32 GetStateParameterCount
(
const FString& StateName |
Return the number of parameters that are editable at runtime for a specific state. | MuCO/CustomizableObject.h |
|
int32 GetStateParameterCount
(
int32 StateIndex |
MuCO/CustomizableObject.h | ||
int32 GetStateParameterIndex
(
int32 StateIndex, |
MuCO/CustomizableObject.h | ||
FString GetStateParameterName
(
int32 StateIndex, |
MuCO/CustomizableObject.h | ||
FString GetStateParameterName
(
const FString& StateName, |
Return the name of one of the state's runtime parameters, by its index (from 0 to GetStateParameterCount - 1). | MuCO/CustomizableObject.h |
|
FMutableStateUIMetadata GetStateUIMetadata
(
const FString& StateName |
Return the metadata associated to a state. | MuCO/CustomizableObject.h |
|
FName GetTextureParameterDefaultValue
(
const FString& InParameterName |
Get the default value of a parameter of type Texture. | MuCO/CustomizableObject.h | |
FTransform GetTransformParameterDefaultValue
(
const FString& ParameterName |
Get the default value of a parameter of type Transform. | MuCO/CustomizableObject.h |
|
bool IsChildObject () |
Return true if this Customizable Object has references to a parent Customizable Object. | MuCO/CustomizableObject.h |
|
bool IsCompiled () |
Check if the CustomizableObject asset has been compiled. | MuCO/CustomizableObject.h |
|
bool IsLoading () |
Return true if the Customizable Object is still being loaded. | MuCO/CustomizableObject.h |
|
bool IsParameterMultidimensional
(
const int32& InParamIndex |
MuCO/CustomizableObject.h | ||
bool IsParameterMultidimensional
(
UPARAM(DisplayName="Parameter Name") const FString& InParameterName |
Return true if the parameter at the index provided is multidimensional. | MuCO/CustomizableObject.h |
|
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginCacheForCookedPlatformData
(
const ITargetPlatform* TargetPlatform |
MuCO/CustomizableObject.h | ||
virtual void GetAssetRegistryTags
(
FAssetRegistryTagsContext Context |
MuCO/CustomizableObject.h | ||
virtual FString GetDesc() |
MuCO/CustomizableObject.h | ||
virtual bool IsCachedCookedPlatformDataLoaded
(
const ITargetPlatform* TargetPlatform |
MuCO/CustomizableObject.h | ||
virtual bool IsEditorOnly() |
MuCO/CustomizableObject.h | ||
virtual void PostLoad() |
MuCO/CustomizableObject.h | ||
| MuCO/CustomizableObject.h | |||
virtual void PostSaveRoot
(
FObjectPostSaveRootContext ObjectSaveContext |
MuCO/CustomizableObject.h | ||
virtual void PreSave
(
FObjectPreSaveContext ObjectSaveContext |
MuCO/CustomizableObject.h | ||
virtual void Serialize
(
FArchive& Ar |
MuCO/CustomizableObject.h |