unreal.DMValueDefinitionLibrary¶
- class unreal.DMValueDefinitionLibrary(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
BlueprintFunctionLibraryDMValue 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:
a (DMValueType)
b (DMValueType)
a_channel (int32)
b_channel (int32)
- Return type:
- classmethod get_type_for_float_count(float_count) DMValueDefinition¶
Converts a number of floats into the value type
- Parameters:
float_count (int32)
- Return type:
- classmethod get_value_definition(value_type) DMValueDefinition¶
Returns a value definition for the given value type.
- Parameters:
value_type (DMValueType)
- Return type:
- classmethod get_value_types() Array[DMValueType]¶
Returns the array of available Value Types, excluding generics like None or Max.
- Return type: