Navigation
API > API/Plugins > API/Plugins/CustomizableObject > API/Plugins/CustomizableObject/MuCO
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UCustomizableObject
References
| Module | CustomizableObject |
| Header | /Engine/Plugins/Experimental/Mutable/Source/CustomizableObject/Classes/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 | TODO: Enable 16 bit weights. | |
| bool | bEnableAltSkinWeightProfiles | ||
| bool | bEnableAnimBpPhysicsAssetsManipualtion | ||
| 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 | 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). | |
| TArray< FCustomizableObjectMeshToMeshVertData > | ClothMeshToMeshVertData | ||
| TArray< FCustomizableObjectClothConfigData > | ClothSharedConfigsData | ||
| FCompilationOptions | CompileOptions | Compilation options to use in editor and for packaging for this object. | |
| TArray< FCustomizableObjectClothingAssetData > | ContributingClothingAssetsData | ||
| FMutableLODSettings | LODSettings | ||
| EMutableCompileMeshType | MeshCompileType | Options when compiling this customizable object (see EMutableCompileMeshType declaration for info) | |
| TArray< TObjectPtr< USkeletalMesh > > | ReferenceSkeletalMeshes | All the SkeletalMeshes generated for this CustomizableObject instances will use the Reference Skeletal Mesh properties for everything that Mutable doesn't create or modify. | |
| TObjectPtr< UEdGraph > | Source | Editor graph. | |
| 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 | |
|---|---|---|---|
| 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 | |||
| 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. | ||
| 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. | |
| int32 | GetIntParameterNumOptions
(
int32 ParamIndex |
Returns how many possible options an int parameter has, if the parameter is an enumeration. | |
| 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. | |
| FParameterUIData | GetParameterUIMetadata
(
const FString& ParamName |
Return the metadata associated to an object parameter by parameter name. | |
| FParameterUIData | GetParameterUIMetadataFromIndex
(
int32 ParamIndex |
Return the metadata associated to an object parameter by parameter index (from 0 to GetParameterCount-1). | |
| FPostCompileDelegate & | |||
| 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 ComponentIndex |
||
| 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). | |
| FParameterUIData | GetStateUIMetadata
(
const FString& StateName |
Return the metadata associated to an object state by name. | |
| FParameterUIData | GetStateUIMetadataFromIndex
(
int32 StateIndex |
Return the metadata associated to an object state by state index. | |
| FName | GetTextureParameterDefaultValue
(
const FString& InParameterName |
Get the default value of a parameter of type Texture. | |
| bool | |||
| bool | IsCompiled () |
Check if the CustomizableObject asset has been compiled. | |
| 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. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | BeginCacheForCookedPlatformData
(
const ITargetPlatform* TargetPlatform |
Starts caching of platform specific data for the target platform Called when cooking before serialization so that object can prepare platform specific data Not called during normal loading of objects | |
| void | GetAssetRegistryTags
(
TArray< FAssetRegistryTag >& OutTags |
||
| void | GetAssetRegistryTags
(
FAssetRegistryTagsContext Context |
Gathers a list of asset registry searchable tags which are name/value pairs with some type information This only needs to be implemented for asset objects | |
| FString | GetDesc () |
Returns a one line description of an object for viewing in the thumbnail view of the generic browser | |
| bool | IsCachedCookedPlatformDataLoaded
(
const ITargetPlatform* TargetPlatform |
Have we finished loading all the cooked platform data for the target platforms requested in BeginCacheForCookedPlatformData | |
| bool | IsEditorOnly () |
Called during saving to determine if the object is forced to be editor only or not | |
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. | |
| void | PostRename
(
UObject* OldOuter, |
Called at the end of Rename(), but only if the rename was actually carried out | |
| void | PostSaveRoot
(
FObjectPostSaveRootContext ObjectSaveContext |
Called from within SavePackage on the passed in base/root object. | |
| void | PreSave
(
FObjectPreSaveContext ObjectSaveContext |
Presave function. | |
| void | Handles reading, writing, and reference collecting using FArchive. |