unreal.DMValueDefinitionLibrary

class unreal.DMValueDefinitionLibrary(outer: Object | None = None, name: Name | str = 'None')

Bases: BlueprintFunctionLibrary

DMValue Definition Library

C++ Source:

  • Plugin: DynamicMaterial

  • Module: DynamicMaterial

  • File: DMValueDefinition.h

classmethod bp_are_types_compatible(a, b, a_channel, b_channel) bool

Returns whether the given types can be connected together as input/output.

Parameters:
Return type:

bool

classmethod get_type_for_float_count(float_count) DMValueDefinition

Converts a number of floats into the value type

Parameters:

float_count (int32)

Return type:

DMValueDefinition

classmethod get_value_definition(value_type) DMValueDefinition

Returns a value definition for the given value type.

Parameters:

value_type (DMValueType)

Return type:

DMValueDefinition

classmethod get_value_types() Array[DMValueType]

Returns the array of available Value Types, excluding generics like None or Max.

Return type:

Array[DMValueType]