unreal.TypedElementPrimitiveCustomDataInterface
¶
- class unreal.TypedElementPrimitiveCustomDataInterface(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
Interface
Typed Element Primitive Custom Data Interface
C++ Source:
Module: TypedElementRuntime
File: TypedElementPrimitiveCustomDataInterface.h
- set_custom_data(element_handle, custom_data_floats, mark_render_state_dirty=False) None ¶
Sets all Primitive’s CustomData values
- Parameters:
element_handle (ScriptTypedElementHandle) –
mark_render_state_dirty (bool) –
- set_custom_data_value(element_handle, custom_data_index, custom_data_value, mark_render_state_dirty=False) None ¶
Sets a single Primitive’s CustomData value
- Parameters:
element_handle (ScriptTypedElementHandle) –
custom_data_index (int32) –
custom_data_value (float) –
mark_render_state_dirty (bool) –