unreal.InterchangeSourceNode

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

Bases: InterchangeBaseNode

This class allows a translator to add general source data that describes the whole source. Pipelines can use this information.

C++ Source:

  • Module: InterchangeCore

  • File: InterchangeSourceNode.h

get_custom_animated_time_end() double or None

Query the end of the source animated time.

Returns:

attribute_value (double):

Return type:

double or None

get_custom_animated_time_start() double or None

Query the start of the source animated time.

Returns:

attribute_value (double):

Return type:

double or None

get_custom_import_unused_material() bool or None

Query whether to import materials that aren’t used.

Returns:

attribute_value (bool):

Return type:

bool or None

get_custom_source_frame_rate_denominator() int32 or None

Query the source frame rate denominator.

Returns:

attribute_value (int32):

Return type:

int32 or None

get_custom_source_frame_rate_numerator() int32 or None

Query the source frame rate numerator.

Returns:

attribute_value (int32):

Return type:

int32 or None

get_custom_source_timeline_end() double or None

Query the end of the source timeline.

Returns:

attribute_value (double):

Return type:

double or None

get_custom_source_timeline_start() double or None

Query the start of the source timeline.

Returns:

attribute_value (double):

Return type:

double or None

initialize_source_node(unique_id, display_label) None

Initialize the base data of the node.

Parameters:
  • unique_id (str) – The unique ID for this node.

  • display_label (str) – The name of the node.

set_custom_animated_time_end(attribute_value) bool

Set the end of the source animated time.

Parameters:

attribute_value (double) –

Return type:

bool

set_custom_animated_time_start(attribute_value) bool

Set the start of the source animated time.

Parameters:

attribute_value (double) –

Return type:

bool

set_custom_import_unused_material(attribute_value) bool

Set whether to import materials that aren’t used.

Parameters:

attribute_value (bool) –

Return type:

bool

set_custom_source_frame_rate_denominator(attribute_value) bool

Set the source frame rate denominator.

Parameters:

attribute_value (int32) –

Return type:

bool

set_custom_source_frame_rate_numerator(attribute_value) bool

Set the source frame rate numerator.

Parameters:

attribute_value (int32) –

Return type:

bool

set_custom_source_timeline_end(attribute_value) bool

Set the end of the source timeline.

Parameters:

attribute_value (double) –

Return type:

bool

set_custom_source_timeline_start(attribute_value) bool

Set the start of the source timeline.

Parameters:

attribute_value (double) –

Return type:

bool