unreal.MetaHumanCharacterInstanceParameter

class unreal.MetaHumanCharacterInstanceParameter(name: Name = 'None', type: MetaHumanCharacterInstanceParameterType = 0, item_path: MetaHumanPaletteItemPath = [])

Bases: StructBase

brief: Struct that represents a parameter of a particular item in a collection This struct is designed to work in scripting environments and will have functions to get and set values hoisted from UMetaHumanCharacterInstanceParameterBlueprintLibrary Note that calling one of the Set functions automatically update the parameter value for the item it represents in the instance that was used when querying them.

C++ Source:

  • Plugin: MetaHumanCharacter

  • Module: MetaHumanCharacterPaletteEditor

  • File: MetaHumanCollectionBlueprintLibrary.h

Editor Properties: (see get_editor_property/set_editor_property)

  • item_path (MetaHumanPaletteItemPath): [Read-Only] The item path to locate this parameter in the instance

  • name (Name): [Read-Only] The name of the parameter

  • type (MetaHumanCharacterInstanceParameterType): [Read-Only] The type of the parameter. Can be used to check which of Set/Get functions to call

get_bool() bool or None

Get Bool

Returns:

out_value (bool):

Return type:

bool or None

get_color() LinearColor or None

Get Color

Returns:

out_value (LinearColor):

Return type:

LinearColor or None

get_float() float or None

Get Float

Returns:

out_value (float):

Return type:

float or None

property item_path: MetaHumanPaletteItemPath

[Read-Only] The item path to locate this parameter in the instance

Type:

(MetaHumanPaletteItemPath)

property name: Name

[Read-Only] The name of the parameter

Type:

(Name)

set_bool(value) bool

Set Bool

Parameters:

value (bool)

Return type:

bool

set_color(value) bool

Set Color

Parameters:

value (LinearColor)

Return type:

bool

set_float(value) bool

Set Float

Parameters:

value (float)

Return type:

bool

property type: MetaHumanCharacterInstanceParameterType

[Read-Only] The type of the parameter. Can be used to check which of Set/Get functions to call

Type:

(MetaHumanCharacterInstanceParameterType)