unreal.UsdReferenceOptions¶
- class unreal.UsdReferenceOptions(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
ObjectOptions to display when adding a reference or a payload for a prim
C++ Source:
Plugin: USDCore
Module: USDClasses
File: USDReferenceOptions.h
Editor Properties: (see get_editor_property/set_editor_property)
internal_reference(bool): [Read-Write] When enabled, the reference/payload will target a prim on this stagetarget_file(FilePath): [Read-Write] File to use as the referencetarget_prim_path(str): [Read-Write] Use a specific prim of the target stage as the referenced/payload primtime_code_offset(float): [Read-Write] Offset to apply to the referenced/payload prim’s time sampled attributestime_code_scale(float): [Read-Write] TimeCode scaling factor to apply to the referenced/payload prim’s time sampled attributesuse_default_prim(bool): [Read-Write] Use the default prim of the target stage as the referenced/payload prim
- property internal_reference: bool¶
[Read-Write] When enabled, the reference/payload will target a prim on this stage
- Type:
(bool)
- property target_prim_path: str¶
[Read-Write] Use a specific prim of the target stage as the referenced/payload prim
- Type:
(str)
- property time_code_offset: float¶
[Read-Write] Offset to apply to the referenced/payload prim’s time sampled attributes
- Type:
(float)