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