Navigation
API > API/Plugins > API/Plugins/CustomizableObject > API/Plugins/CustomizableObject/MuCO
References
Module | CustomizableObject |
Header | /Engine/Plugins/Experimental/Mutable/Source/CustomizableObject/Public/MuCO/CustomizableObjectInstanceDescriptor.h |
Include | #include "MuCO/CustomizableObjectInstanceDescriptor.h" |
Syntax
USTRUCT&40;&41;
struct FCustomizableObjectInstanceDescriptor
Remarks
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.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
|||
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
int32 | AddValueToFloatRange
(
const FString& ParamName |
Increases the range of values of the float with ParamName, returns the index of the new float value, -1 otherwise. |
![]() |
int32 | AddValueToIntRange
(
const FString& ParamName |
Increases the range of values of the integer with ParamName, returns the index of the new integer value, -1 otherwise. |
![]() |
int32 | AddValueToProjectorRange
(
const FString& ParamName |
Increases the range of values of the projector with ParamName, returns the index of the new projector value, -1 otherwise. |
![]() |
int32 | AddValueToTextureRange
(
const FString& ParamName |
Increases the range of values of the float with ParamName, returns the index of the new float value, -1 otherwise. |
![]() |
bool | CreateMultiLayerProjector
(
const FName& ProjectorParamName |
Multilayer Projectors |
![]() ![]() |
int32 | FindBoolParameterNameIndex
(
const FString& ParamName |
Finds in BoolParameters a parameter with name ParamName, returns the index if found, -1 otherwise. |
![]() ![]() |
int32 | FindFloatParameterNameIndex
(
const FString& ParamName |
Finds in FloatParameters a parameter with name ParamName, returns the index if found, -1 otherwise. |
![]() ![]() |
int32 | FindIntParameterNameIndex
(
const FString& ParamName |
Finds in IntParameters a parameter with name ParamName, returns the index if found, -1 otherwise. |
![]() ![]() |
int32 | FindProjectorParameterNameIndex
(
const FString& ParamName |
Finds in ProjectorParameters a parameter with name ParamName, returns the index if found, -1 otherwise. |
![]() ![]() |
int32 | FindTextureParameterNameIndex
(
const FString& ParamName |
Finds in TextureParameters a parameter with name ParamName, returns the index if found, -1 otherwise. |
![]() ![]() |
int32 | FindVectorParameterNameIndex
(
const FString& ParamName |
Finds in VectorParameters a parameter with name ParamName, returns the index if found, -1 otherwise. |
![]() |
TArray< FCustomizableObjectBoolParameterValue > & | Parameters | |
![]() ![]() |
const TArray< FCustomizableObjectBoolParameterValue > & | ||
![]() ![]() |
bool | GetBoolParameterSelectedOption
(
const FString& BoolParamName |
Gets the value of the bool parameter with name "BoolParamName". |
![]() ![]() |
bool | ||
![]() ![]() |
FLinearColor | GetColorParameterSelectedOption
(
const FString& ColorParamName |
Gets the value of a color parameter with name "ColorParamName". |
![]() ![]() |
FString | Get the current optimization state. | |
![]() ![]() |
UCustomizableObject * | ||
![]() |
TArray< FCustomizableObjectFloatParameterValue > & | ||
![]() ![]() |
const TArray< FCustomizableObjectFloatParameterValue > & | ||
![]() ![]() |
float | GetFloatParameterSelectedOption
(
const FString& FloatParamName, |
Gets the value of a float parameter with name "FloatParamName". |
![]() ![]() |
int32 | GetFloatValueRange
(
const FString& ParamName |
Gets the range of values of the float with ParamName, returns -1 if the parameter does not exist. |
![]() ![]() |
const TArray< FCustomizableObjectIntParameterValue > & | ||
![]() |
TArray< FCustomizableObjectIntParameterValue > & | ||
![]() ![]() |
const FString & | GetIntParameterSelectedOption
(
const FString& ParamName, |
Gets the value of the int parameter with name "ParamName". |
![]() ![]() |
int32 | GetIntValueRange
(
const FString& ParamName |
Gets the range of values of the int with ParamName, returns -1 if the parameter does not exist. |
![]() ![]() |
int32 | GetMaxLod () |
|
![]() ![]() |
int32 | GetMinLod () |
|
![]() ![]() |
mu::Ptr< mu::Parameters > | Return a Mutable Core object containing all parameters. | |
![]() ![]() |
FCustomizableObjectProjector | GetProjector
(
const FString& ParamName, |
Get the current projector for the parameter with the given name. |
![]() ![]() |
float | GetProjectorAngle
(
const FString& ParamName, |
Get the current cylindrical projector angle for the parameter with the given name. |
![]() ![]() |
FVector | GetProjectorDirection
(
const FString& ParamName, |
Get the current projector direction vector for the parameter with the given name. |
![]() |
TArray< FCustomizableObjectProjectorParameterValue > & | ||
![]() ![]() |
const TArray< FCustomizableObjectProjectorParameterValue > & | ||
![]() ![]() |
ECustomizableObjectProjectorType | GetProjectorParameterType
(
const FString& ParamName, |
Get the current projector type for the parameter with the given name. |
![]() ![]() |
FVector | GetProjectorPosition
(
const FString& ParamName, |
Get the current projector position for the parameter with the given name. |
![]() ![]() |
FVector | GetProjectorScale
(
const FString& ParamName, |
Get the current projector scale for the parameter with the given name. |
![]() ![]() |
FVector | GetProjectorUp
(
const FString& ParamName, |
Get the current projector up vector for the parameter with the given name. |
![]() ![]() |
void | GetProjectorValue
(
const FString& ProjectorParamName, |
Get the projector values of a projector parameter with index "ProjectorParamIndex". |
![]() ![]() |
void | GetProjectorValueF
(
const FString& ProjectorParamName, |
Float version. See GetProjectorValue. |
![]() ![]() |
int32 | GetProjectorValueRange
(
const FString& ParamName |
Gets the range of values of the projector with ParamName, returns -1 if the parameter does not exist. |
![]() ![]() |
const TArray< uint16 > & | ||
![]() ![]() |
int32 | GetState () |
States Get the current optimization state. |
![]() ![]() |
const TArray< FCustomizableObjectTextureParameterValue > & | ||
![]() |
TArray< FCustomizableObjectTextureParameterValue > & | ||
![]() ![]() |
FName | GetTextureParameterSelectedOption
(
const FString& TextureParamName, |
Gets the value of a texture parameter with name "TextureParamName". |
![]() ![]() |
int32 | GetTextureValueRange
(
const FString& ParamName |
Gets the range of values of the texture with ParamName, returns -1 if the parameter does not exist. |
![]() |
TArray< FCustomizableObjectVectorParameterValue > & | ||
![]() ![]() |
const TArray< FCustomizableObjectVectorParameterValue > & | ||
![]() ![]() |
bool | Return true if there are any parameters. | |
![]() |
void | LoadDescriptor
(
FArchive& Ar |
Deserialize this object. |
![]() |
void | MultilayerProjectorCreateLayer
(
const FName& ProjectorParamName, |
See FMultilayerProjector::CreateLayer. |
![]() |
void | MultilayerProjectorCreateVirtualLayer
(
const FName& ProjectorParamName, |
See FMultilayerProjector::VirtualLayer. |
![]() |
FMultilayerProjectorVirtualLayer | MultilayerProjectorFindOrCreateVirtualLayer
(
const FName& ProjectorParamName, |
See FMultilayerProjector::FindOrCreateVirtualLayer. |
![]() ![]() |
FMultilayerProjectorLayer | MultilayerProjectorGetLayer
(
const FName& ProjectorParamName, |
See FMultilayerProjector::GetLayer. |
![]() ![]() |
FMultilayerProjectorVirtualLayer | MultilayerProjectorGetVirtualLayer
(
const FName& ProjectorParamName, |
See FMultilayerProjector::GetVirtualLayer. |
![]() ![]() |
TArray< FName > | MultilayerProjectorGetVirtualLayers
(
const FName& ProjectorParamName |
See FMultilayerProjector::GetVirtualLayers. |
![]() ![]() |
int32 | MultilayerProjectorNumLayers
(
const FName& ProjectorParamName |
See FMultilayerProjector::NumLayers. |
![]() |
void | MultilayerProjectorRemoveLayerAt
(
const FName& ProjectorParamName, |
See FMultilayerProjector::RemoveLayerAt. |
![]() |
void | MultilayerProjectorRemoveVirtualLayer
(
const FName& ProjectorParamName, |
See FMultilayerProjector::RemoveVirtualLayer. |
![]() |
void | MultilayerProjectorUpdateLayer
(
const FName& ProjectorParamName, |
See FMultilayerProjector::UpdateLayer. |
![]() |
void | MultilayerProjectorUpdateVirtualLayer
(
const FName& ProjectorParamName, |
See FMultilayerProjector::UpdateVirtualLayer. |
![]() |
void | Update all parameters to be up to date with the Mutable Core parameters. | |
![]() |
void | RemoveMultilayerProjector
(
const FName& ProjectorParamName |
Given Multilayer Projector name, remove a Multilayer Projector Helper. |
![]() |
int32 | RemoveValueFromFloatRange
(
const FString& ParamName, |
Remove the RangeIndex element of the float range of values from the parameter ParamName, returns the index of the last valid float, -1 if no values left. |
![]() |
int32 | RemoveValueFromFloatRange
(
const FString& ParamName |
Remove the last of the float range of values from the parameter ParamName, returns the index of the last valid float, -1 if no values left. |
![]() |
int32 | RemoveValueFromIntRange
(
const FString& ParamName, |
Remove the RangeIndex element of the integer range of values from the parameter ParamName, returns the index of the last valid integer, -1 if no values left. |
![]() |
int32 | RemoveValueFromIntRange
(
const FString& ParamName |
Remove the last of the integer range of values from the parameter ParamName, returns the index of the last valid integer, -1 if no values left. |
![]() |
int32 | RemoveValueFromProjectorRange
(
const FString& ParamName, |
Remove the RangeIndex element of the projector range of values from the parameter ParamName, returns the index of the last valid projector, -1 if no values left. |
![]() |
int32 | RemoveValueFromProjectorRange
(
const FString& ParamName |
Remove the last of the projector range of values from the parameter ParamName, returns the index of the last valid projector, -1 if no values left. |
![]() |
int32 | RemoveValueFromTextureRange
(
const FString& ParamName, |
Remove the RangeIndex element of the texture range of values from the parameter ParamName, returns the index of the last valid float, -1 if no values left. |
![]() |
int32 | RemoveValueFromTextureRange
(
const FString& ParamName |
Remove the last of the texture range of values from the parameter ParamName, returns the index of the last valid float, -1 if no values left. |
![]() |
void | SaveDescriptor
(
FArchive& Ar, |
Serialize this object. |
![]() |
void | SetBoolParameterSelectedOption
(
const FString& BoolParamName, |
Sets the bool value "BoolValue" of a bool parameter with name "BoolParamName". |
![]() |
void | SetBuildParameterRelevancy
(
bool Value |
|
![]() |
void | SetColorParameterSelectedOption
(
const FString& ColorParamName, |
Sets the color value "ColorValue" of a color parameter with index "ColorParamIndex". |
![]() |
void | SetCurrentState
(
const FString& StateName |
Set the current optimization state. |
![]() |
void | SetCustomizableObject
(
UCustomizableObject& InCustomizableObject |
|
![]() |
void | SetFloatParameterSelectedOption
(
const FString& FloatParamName, |
Sets the float value "FloatValue" of a float parameter with index "FloatParamIndex". |
![]() |
void | SetIntParameterSelectedOption
(
int32 IntParamIndex, |
Sets the selected option of an int parameter by the option's name. |
![]() |
void | SetIntParameterSelectedOption
(
const FString& ParamName, |
Sets the selected option of an int parameter, by the option's name |
![]() |
void | SetMaxLod
(
int32 InMaxLOD |
|
![]() |
void | SetMinLod
(
int32 InMinLOD |
|
![]() |
void | SetProjectorPosition
(
const FString& ProjectorParamName, |
Set only the projector position. |
![]() |
void | SetProjectorValue
(
const FString& ProjectorParamName, |
Sets the projector values of a projector parameter with index "ProjectorParamIndex". |
![]() |
void | SetRandomValues
(
const int32& InRandomizationSeed |
|
![]() |
void | SetRequestedLODLevels
(
const TArray< uint16 >& InRequestedLODLevels |
|
![]() |
void | SetState
(
int32 InState |
Set the current optimization state. |
![]() |
void | SetTextureParameterSelectedOption
(
const FString& TextureParamName, |
Sets the texture value "TextureValue" of a texture parameter with index "TextureParamIndex". |
![]() |
void | SetVectorParameterSelectedOption
(
const FString& VectorParamName, |
Sets the vector value "VectorValue" of a bool parameter with index "VectorParamIndex". |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | SetTextureParameterSelectedOptionT
(
const FString& TextureParamName, |
Use SetTextureParameterSelectedOption instead. |