Navigation
API > API/Plugins > API/Plugins/CustomizableObject
Internal use only! Currently in /Public due to UCustomizableObjectInstance::Descriptor.
Set of parameters + state that defines a CustomizableObjectInstance.
This object has the same parameters + state interface as UCustomizableObjectInstance. UCustomizableObjectInstance must share the same interface. Any public methods added here should also end up in the Instance.
| Name | FCustomizableObjectInstanceDescriptor |
| Type | struct |
| Header File | /Engine/Plugins/Mutable/Source/CustomizableObject/Public/MuCO/CustomizableObjectInstanceDescriptor.h |
| Include Path | #include "MuCO/CustomizableObjectInstanceDescriptor.h" |
Syntax
USTRUCT ()
struct FCustomizableObjectInstanceDescriptor
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| MuCO/CustomizableObjectInstanceDescriptor.h | |||
| MuCO/CustomizableObjectInstanceDescriptor.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bBuildParameterRelevancy | bool | If this is set to true, when updating the instance an additional step will be performed to calculate the list of instance parameters that are relevant for the current parameter values. | MuCO/CustomizableObjectInstanceDescriptor.h | |
| BoolParameters | TArray< FCustomizableObjectBoolParameterValue > | MuCO/CustomizableObjectInstanceDescriptor.h | ||
| CustomizableObject | TObjectPtr< UCustomizableObject > | MuCO/CustomizableObjectInstanceDescriptor.h | ||
| ExternalTypeParameters | TArray< FCustomizableObjectExternalTypeParameterValue > | MuCO/CustomizableObjectInstanceDescriptor.h | ||
| FDescriptorHash | friend | Friends. | MuCO/CustomizableObjectInstanceDescriptor.h | |
| FloatParameters | TArray< FCustomizableObjectFloatParameterValue > | MuCO/CustomizableObjectInstanceDescriptor.h | ||
| FMultilayerProjector | friend | MuCO/CustomizableObjectInstanceDescriptor.h | ||
| FMutableUpdateCandidate | friend | MuCO/CustomizableObjectInstanceDescriptor.h | ||
| IntParameters | TArray< FCustomizableObjectIntParameterValue > | MuCO/CustomizableObjectInstanceDescriptor.h | ||
| MaterialParameters | TArray< FCustomizableObjectMaterialParameterValue > | MuCO/CustomizableObjectInstanceDescriptor.h | ||
| ProjectorParameters | TArray< FCustomizableObjectProjectorParameterValue > | MuCO/CustomizableObjectInstanceDescriptor.h | ||
| SkeletalMeshParameters | TArray< FCustomizableObjectSkeletalMeshParameterValue > | MuCO/CustomizableObjectInstanceDescriptor.h | ||
| State | int32 | Mutable parameters optimization state. | MuCO/CustomizableObjectInstanceDescriptor.h |
|
| TextureParameters | TArray< FCustomizableObjectTextureParameterValue > | MuCO/CustomizableObjectInstanceDescriptor.h | ||
| TransformParameters | TArray< FCustomizableObjectTransformParameterValue > | MuCO/CustomizableObjectInstanceDescriptor.h | ||
| UCustomizableInstancePrivate | friend | MuCO/CustomizableObjectInstanceDescriptor.h | ||
| UCustomizableObjectInstance | friend | MuCO/CustomizableObjectInstanceDescriptor.h | ||
| VectorParameters | TArray< FCustomizableObjectVectorParameterValue > | MuCO/CustomizableObjectInstanceDescriptor.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 AddValueToFloatRange
(
const FString& ParamName |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
int32 AddValueToIntRange
(
const FString& ParamName |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
int32 AddValueToProjectorRange
(
const FString& ParamName |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
int32 AddValueToTextureRange
(
const FString& ParamName |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
void CreateLayer
(
const FName& ParamName, |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
int32 FindTypedParameterIndex
(
const FString& ParamName, |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
bool GetBoolParameterSelectedOption
(
const FString& BoolParamName |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
bool GetBuildParameterRelevancy() |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
FString GetCurrentState() |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
UCustomizableObject * GetCustomizableObject() |
Could return nullptr in some rare situations, so check first. | MuCO/CustomizableObjectInstanceDescriptor.h | |
FInstancedStruct GetExternalTypeParameterSelectedOption
(
const FString& ExternalTypeParamName, |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
float GetFloatParameterSelectedOption
(
const FString& FloatParamName, |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
int32 GetFloatValueRange
(
const FString& ParamName |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
| MuCO/CustomizableObjectInstanceDescriptor.h | |||
int32 GetIntValueRange
(
const FString& ParamName |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
FMultilayerProjectorLayer GetLayer
(
const FName& ParamName, |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
UMaterialInterface * GetMaterialParameterSelectedOption
(
const FString& MaterialMeshParamName, |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
TSharedPtr< UE::Mutable::Private::FParameters > GetParameters() |
Return a Mutable Core object containing all parameters. | MuCO/CustomizableObjectInstanceDescriptor.h | |
float GetProjectorAngle
(
const FString& ParamName, |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
FVector GetProjectorDirection
(
const FString& ParamName, |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
FCustomizableObjectProjector GetProjectorParameterSelectedOption
(
const FString& ParamName, |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
ECustomizableObjectProjectorType GetProjectorParameterType
(
const FString& ParamName, |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
FVector GetProjectorPosition
(
const FString& ParamName, |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
FVector GetProjectorScale
(
const FString& ParamName, |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
FVector GetProjectorUp
(
const FString& ParamName, |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
void GetProjectorValue
(
const FString& ProjectorParamName, |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
void GetProjectorValueF
(
const FString& ProjectorParamName, |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
int32 GetProjectorValueRange
(
const FString& ParamName |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
USkeletalMesh * GetSkeletalMeshParameterSelectedOption
(
const FString& SkeletalMeshParamName, |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
int32 GetState() |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
| MuCO/CustomizableObjectInstanceDescriptor.h | |||
int32 GetTextureValueRange
(
const FString& ParamName |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
FTransform GetTransformParameterSelectedOption
(
const FString& TransformParamName |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
FVector4f GetVectorParameterSelectedOption
(
const FString& BoolParamName |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
bool HasAnyParameters() |
FParameters | MuCO/CustomizableObjectInstanceDescriptor.h | |
bool IsMultilayerProjector
(
const FString& ParamName |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
void LoadDescriptor
(
FArchive& Ar |
Deserialize this object. | MuCO/CustomizableObjectInstanceDescriptor.h | |
int32 NumProjectorLayers
(
const FName& ParamName |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
void ReloadParameters() |
Update all parameters to be up to date with the Mutable Core parameters. | MuCO/CustomizableObjectInstanceDescriptor.h | |
void RemoveLayerAt
(
const FName& ParamName, |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
int32 RemoveValueFromFloatRange
(
const FString& ParamName, |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
int32 RemoveValueFromIntRange
(
const FString& ParamName, |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
int32 RemoveValueFromProjectorRange
(
const FString& ParamName, |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
int32 RemoveValueFromTextureRange
(
const FString& ParamName, |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
int32 RemoveValueFromTextureRange
(
const FString& ParamName |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
void SaveDescriptor
(
FArchive& Ar, |
Serialize this object. | MuCO/CustomizableObjectInstanceDescriptor.h | |
void SetBoolParameterSelectedOption
(
const FString& BoolParamName, |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
void SetBuildParameterRelevancy
(
bool Value |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
void SetCurrentState
(
const FString& StateName |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
void SetCustomizableObject
(
UCustomizableObject* InCustomizableObject |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
void SetDefaultValue
(
int32 ParamIndex |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
void SetDefaultValues() |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
void SetExternalTypeParameterSelectedOption
(
const FString& ParamName, |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
void SetFloatParameterSelectedOption
(
const FString& FloatParamName, |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
void SetIntParameterSelectedOption
(
int32 IntParamIndex, |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
void SetIntParameterSelectedOption
(
const FString& ParamName, |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
void SetMaterialParameterSelectedOption
(
const FString& MaterialParamName, |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
void SetProjectorAngle
(
const FString& ProjectorParamName, |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
void SetProjectorDirection
(
const FString& ProjectorParamName, |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
void SetProjectorParameterSelectedOption
(
const FString& ProjectorParamName, |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
void SetProjectorPosition
(
const FString& ProjectorParamName, |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
void SetProjectorScale
(
const FString& ProjectorParamName, |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
void SetProjectorUp
(
const FString& ProjectorParamName, |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
void SetProjectorValue
(
const FString& ProjectorParamName, |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
void SetRandomValues() |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
void SetRandomValuesFromStream
(
const FRandomStream& InStream |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
void SetSkeletalMeshParameterSelectedOption
(
const FString& SkeletalMeshParamName, |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
void SetState
(
int32 InState |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
| MuCO/CustomizableObjectInstanceDescriptor.h | |||
void SetTransformParameterSelectedOption
(
const FString& TransformParamName, |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
void SetVectorParameterSelectedOption
(
const FString& VectorParamName, |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
FString ToString() |
MuCO/CustomizableObjectInstanceDescriptor.h | ||
void UpdateLayer
(
const FName& ParamName, |
MuCO/CustomizableObjectInstanceDescriptor.h |