unreal.DatasmithPropertyCaptureElement

class unreal.DatasmithPropertyCaptureElement(outer=None, name='None')

Bases: unreal.DatasmithBasePropertyCaptureElement

  • UDatasmithPropertyCaptureElement

C++ Source:

  • Plugin: DatasmithImporter

  • Module: DatasmithImporter

  • File: DatasmithUObjectElements.h

get_value_bool()bool

Get the recorded value for this property as a boolean. Returned value is meaningless if the property is not of boolean type.

Returns

Return type

bool

get_value_color()Color

Get the recorded value for this property as a color. Returned value is meaningless if the property is not of color type.

Returns

Return type

Color

get_value_float()float

Get the recorded value for this property as a float. Returned value is meaningless if the property is not of float type.

Returns

Return type

float

get_value_int()int32

Get the recorded value for this property as an int32. Returned value is meaningless if the property is not of int32 type.

Returns

Return type

int32

get_value_int_point()IntPoint

Get the recorded value for this property as an int point. Returned value is meaningless if the property is not of int point type.

Returns

Return type

IntPoint

get_value_linear_color()LinearColor

Get the recorded value for this property as a linear color. Returned value is meaningless if the property is not of linear color type.

Returns

Return type

LinearColor

get_value_quat()Quat

Get the recorded value for this property as a quat. Returned value is meaningless if the property is not of quat type.

Returns

Return type

Quat

get_value_rotator()Rotator

Get the recorded value for this property as a rotator. Returned value is meaningless if the property is not of rotator type.

Returns

Return type

Rotator

get_value_string()str

Get the recorded value for this property as a string. Returned value is meaningless if the property is not of string type.

Returns

Return type

str

get_value_vector()Vector

Get the recorded value for this property as a vector. Returned value is meaningless if the property is not of vector type.

Returns

Return type

Vector

get_value_vector2d()Vector2D

Get the recorded value for this property as a vector2d. Returned value is meaningless if the property is not of vector2 type.

Returns

Return type

Vector2D

get_value_vector4()Vector4

Get the recorded value for this property as a vector4. Returned value is meaningless if the property is not of vector4 type.

Returns

Return type

Vector4

set_value_bool(value)None

Set the recorded value for this capture

Parameters

value (bool) –

set_value_color(value)None

Set the recorded value for this capture

Parameters

value (Color) –

set_value_float(value)None

Set the recorded value for this capture

Parameters

value (float) –

set_value_int(value)None

Set the recorded value for this capture

Parameters

value (int32) –

set_value_int_point(value)None

Set the recorded value for this capture

Parameters

value (IntPoint) –

set_value_linear_color(value)None

Set the recorded value for this capture

Parameters

value (LinearColor) –

set_value_quat(value)None

Set the recorded value for this capture

Parameters

value (Quat) –

set_value_rotator(value)None

Set the recorded value for this capture

Parameters

value (Rotator) –

set_value_string(value)None

Set the recorded value for this capture

Parameters

value (str) –

set_value_vector(value)None

Set the recorded value for this capture

Parameters

value (Vector) –

set_value_vector2d(value)None

Set the recorded value for this capture

Parameters

value (Vector2D) –

set_value_vector4(value)None

Set the recorded value for this capture

Parameters

value (Vector4) –