unreal.UsdConversionLibrary

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

Bases: BlueprintFunctionLibrary

Wrapped static conversion functions from the UsdUtilities module, so that they can be used via scripting

C++ Source:

  • Plugin: USDImporter

  • Module: USDExporter

  • File: USDConversionBlueprintLibrary.h

classmethod add_payload(referencing_stage_path, referencing_prim_path, target_stage_path) None

Add Payload

Parameters:
  • referencing_stage_path (str) –

  • referencing_prim_path (str) –

  • target_stage_path (str) –

classmethod add_reference(referencing_stage_path, referencing_prim_path, target_stage_path) None

Add Reference

Parameters:
  • referencing_stage_path (str) –

  • referencing_prim_path (str) –

  • target_stage_path (str) –

classmethod can_export_to_layer(target_file_path) bool

Checks whether we can create a USD Layer with “TargetFilePath” as identifier and export to it

Parameters:

target_file_path (str) –

Return type:

bool

classmethod can_paste_prims() bool

Returns true if we have prims that we can paste within our clipboard stage

Return type:

bool

classmethod clear_metadata_field(asset_user_data, key, stage_identifier='', prim_path='', trigger_property_change_events=True) bool

Clear Metadata Field

Parameters:
Return type:

bool

classmethod clear_prim_clipboard() None

Clears all prims from our clipboard stage

classmethod copy_prims(stage_root_layer, prim_paths) bool

Copies flattened versions of the input prims onto the clipboard stage. These copied prims can then be pasted with PastePrims.

Parameters:
  • stage_root_layer (str) – Path to the root layer of the stage from which we should fetch the Prims

  • prim_paths (Array[str]) – Prims to copy

Returns:

True if we managed to copy

Return type:

bool

classmethod cut_prims(stage_root_layer, prim_paths) bool

Copies flattened versions of the input prims onto the clipboard stage and removes all the prim specs for Prims from their stages. These cut prims can then be pasted with PastePrims.

Parameters:
  • stage_root_layer (str) – Path to the root layer of the stage from which we should fetch the Prims

  • prim_paths (Array[str]) – Prims to cut

Returns:

True if we managed to cut

Return type:

bool

classmethod duplicate_prims(stage_root_layer, prim_paths, duplicate_type, target_layer) Array[str]

Duplicates all provided Prims one-by-one, performing the requested DuplicateType. See the documentation on EUsdDuplicateType for the different operation types.

The duplicated prims may be renamed in order to have valid names for the target location, which is why this function returns the pasted prim paths. This function returns just paths instead of actual prims because USD needs to respond to the notices about the created prim specs before the prims are fully created, which means we wouldn’t be able to return the created prims yet, in case this function was called from within an SdfChangeBlock.

Parameters:
  • stage_root_layer (str) – Path to the root layer of the stage from which we should fetch the Prims

  • prim_paths (Array[str]) – Prims to duplicate

  • duplicate_type (UsdDuplicateType) – Type of prim duplication to perform

  • target_layer (str) – Target layer to use when duplicating, if relevant for that duplication type

Returns:

Paths to the duplicated prim specs, after they were added as children of ParentPrim.

Return type:

Array[str]

classmethod generate_object_version_string(object_to_export, export_options) str

Generates a unique identifier string that involves ObjectToExport’s package’s persistent guid, the corresponding file save date and time, and the number of times the package has been dirtied since last being saved. Optionally it can also combine that hash with a hash of the export options being used for the export, if available. This can be used to track the version of exported assets and levels, to prevent reexporting of actors and components.

Parameters:
Return type:

str

classmethod get_actors_to_convert(world) Set[Actor]

Get Actors to Convert

Parameters:

world (World) –

Return type:

Set[Actor]

classmethod get_analytics_attributes(options) Array[AnalyticsEventAttr]

Retrieves the analytics attributes to send for the provided options object

Parameters:

options (LevelExporterUSDOptions) –

Return type:

Array[AnalyticsEventAttr]

classmethod get_instance_transforms(actor, foliage_type, instances_level=None) Array[Transform]

Returns the transforms of all instances of a particular UFoliageType on a given level. If no level is provided all instances will be returned. Use GetUsedFoliageTypes() to retrieve all foliage types managed by a particular actor.

Parameters:
Return type:

Array[Transform]

classmethod get_instanced_foliage_actor_for_level(create_if_none=False, level=None) InstancedFoliageActor

Wraps AInstancedFoliageActor::GetInstancedFoliageActorForLevel, and allows retrieving the current AInstancedFoliageActor for a level. Will default to the current editor level if Level is left nullptr. This function is useful because it’s difficult to retrieve this actor otherwise, as it will be filtered from the results of functions like EditorLevelLibrary.get_all_level_actors()

Parameters:
  • create_if_none (bool) –

  • level (Level) –

Return type:

InstancedFoliageActor

classmethod get_loaded_level_names(world) Array[str]

Returns the path name (e.g. “/Game/Maps/MyLevel”) of levels that are loaded on World. We use these to revert the World to its initial state after we force-stream levels in for exporting

Parameters:

world (World) –

Return type:

Array[str]

classmethod get_metadata_field(asset_user_data, key, stage_identifier='', prim_path='') UsdMetadataValue

Get Metadata Field

Parameters:
Return type:

UsdMetadataValue

classmethod get_num_levels_to_export(world, levels_to_ignore) int32

Returns how many total Unreal levels (persistent + all sublevels) will be exported if we consider LevelsToIgnore

Parameters:
Return type:

int32

classmethod get_prim_path_for_object(actor_or_component, parent_prim_path='', use_actor_folders=False) str

Get Prim Path for Object

Parameters:
  • actor_or_component (Object) –

  • parent_prim_path (str) –

  • use_actor_folders (bool) –

Return type:

str

classmethod get_schema_name_for_component(component) str

Get Schema Name for Component

Parameters:

component (SceneComponent) –

Return type:

str

classmethod get_source(foliage_type) Object

Returns the source asset for a UFoliageType. It can be a UStaticMesh in case we’re dealing with a UFoliageType_InstancedStaticMesh, but it can be other types of objects.

Parameters:

foliage_type (FoliageType) –

Return type:

Object

classmethod get_usd_asset_user_data(object) UsdAssetUserData

Retrieve the first instance of UUsdAssetUserData contained on the Object, if any

Parameters:

object (Object) –

Return type:

UsdAssetUserData

classmethod get_used_foliage_types(actor) Array[FoliageType]

Returns all the different types of UFoliageType assets that a particular AInstancedFoliageActor uses. This function exists because we want to retrieve all instances of all foliage types on an actor, but we can’t return nested containers from UFUNCTIONs, so users of this API should call this, and then GetInstanceTransforms.

Parameters:

actor (InstancedFoliageActor) –

Return type:

Array[FoliageType]

classmethod get_visible_in_editor_level_names(world) Array[str]

Returns the path name (e.g. “/Game/Maps/MyLevel”) of levels that checked to be visible in the editor within World. We use these to revert the World to its initial state after we force-stream levels in for exporting

Parameters:

world (World) –

Return type:

Array[str]

classmethod has_metadata_field(asset_user_data, key, stage_identifier='', prim_path='') bool

Has Metadata Field

Parameters:
Return type:

bool

classmethod insert_sub_layer(parent_layer_path, sub_layer_path, index=-1) None

Insert Sub Layer

Parameters:
  • parent_layer_path (str) –

  • sub_layer_path (str) –

  • index (int32) –

classmethod make_path_relative_to_layer(anchor_layer_path, path_to_make_relative) str

Make Path Relative to Layer

Parameters:
  • anchor_layer_path (str) –

  • path_to_make_relative (str) –

Return type:

str

classmethod paste_prims(stage_root_layer, parent_prim_path) Array[str]

Pastes the prims from the clipboard stage as children of ParentPrim.

The pasted prims may be renamed in order to have valid names for the target location, which is why this function returns the pasted prim paths. This function returns just paths instead of actual prims because USD needs to respond to the notices about the created prim specs before the prims are fully created, which means we wouldn’t be able to return the created prims yet, in case this function was called from within an SdfChangeBlock.

Parameters:
  • stage_root_layer (str) – Path to the root layer of the stage from which we should fetch the Prims

  • parent_prim_path (str) – Prim that will become parent to the pasted prims

Returns:

Paths to the pasted prim specs, after they were added as children of ParentPrim

Return type:

Array[str]

classmethod reapply_sequencer_animations() None

If we used ReverseSequencerAnimations to undo the effect of an opened sequencer before export, this function can be used to re-apply the sequencer state back to the level after the export is complete

classmethod remove_all_prim_specs(stage_root_layer, prim_path, target_layer) None

Removes all the prim specs for Prim on the given Layer.

This function is useful in case the prim is inside a variant set: In that case, just calling FUsdStage::RemovePrim() will attempt to remove the “/Root/Example/Child”, which wouldn’t remove the “/Root{Varset=Var}Example/Child” spec, meaning the prim may still be left on the stage. Note that it’s even possible to have both of those specs at the same time: for example when we have a prim inside a variant set, but outside of it we have overrides to the same prim. This function will remove both.

Parameters:
  • stage_root_layer (str) – Path to the root layer of the stage from which we should fetch the Prims

  • prim_path (str) – Prim to remove

  • target_layer (str) –

classmethod revert_sequencer_animations() None

If we have the Sequencer open with a level sequence animating the level before export, this function can revert any actor or component to its unanimated state

classmethod send_analytics(attrs, event_name, automated, elapsed_seconds, number_of_frames, extension) None

Defer to the USDClasses module to actually send analytics information

Parameters:
classmethod set_metadata_field(asset_user_data, key, value, value_type_name, stage_identifier='', prim_path='', trigger_property_change_events=True) bool
  • Utilities that make it easier to get/set metadata fields without having to manipulate the nested struct instances directly.

  • It will create the struct entries automatically if needed, and overwrite existing entries with the same key if needed.

  • If the AssetUserData contains exactly one entry for StageIdentifier and one entry for PrimPath, you can omit those arguments

  • and that single entry will be used. If there are more or less than exactly one entry for StageIdentifier or for PrimPath however,

  • you must specify which one to use, and failing to do so will cause the functions to return false and emit a warning.

  • It is possible to get these functions to automatically trigger pre/post property changed events by providing “true” for

  • bTriggerPropertyChangeEvents, which is useful as it is not trivial to trigger those from Python/Blueprint given how the

  • metadata is stored inside nested structs and maps. If these AssetUserData belong to generated transient assets when opening

  • stages, emitting property change events causes those edits to be immediately written out to the opened USD Stage.

  • Returns true if it managed to set the new key-value pair.

Parameters:
  • asset_user_data (UsdAssetUserData) –

  • key (str) –

  • value (str) –

  • value_type_name (str) –

  • stage_identifier (str) –

  • prim_path (str) –

  • trigger_property_change_events (bool) –

Return type:

bool

classmethod set_usd_asset_user_data(object, asset_user_data) bool
  • Sets AssetUserData as the single UUsdAssetUserData on the Object, overwriting an existing one if encountered.

  • Returns true if it managed to add AssetUserData to Object.

Parameters:
Return type:

bool

classmethod stream_in_required_levels(world, levels_to_ignore) None

Fully streams in and displays all levels whose names are not in LevelsToIgnore

Parameters:
classmethod stream_out_levels(owning_world, level_names_to_stream_out, level_names_to_hide) None

Streams out/hides sublevels that were streamed in before export

Parameters:
  • owning_world (World) –

  • level_names_to_stream_out (Array[str]) –

  • level_names_to_hide (Array[str]) –

classmethod stringify_as_asset_path(value) str

Stringify as Asset Path

Parameters:

value (str) –

Return type:

str

classmethod stringify_as_asset_path_array(value) str

Stringify as Asset Path Array

Parameters:

value (Array[str]) –

Return type:

str

classmethod stringify_as_bool(value) str

Stringify functions

Parameters:

value (bool) –

Return type:

str

classmethod stringify_as_bool_array(value) str

Stringify array functions

Parameters:

value (Array[bool]) –

Return type:

str

classmethod stringify_as_double(value) str

Stringify as Double

Parameters:

value (double) –

Return type:

str

classmethod stringify_as_double2(value) str

Stringify as Double 2

Parameters:

value (Vector2D) –

Return type:

str

classmethod stringify_as_double2_array(value) str

Stringify as Double 2Array

Parameters:

value (Array[Vector2D]) –

Return type:

str

classmethod stringify_as_double3(value) str

Stringify as Double 3

Parameters:

value (Vector) –

Return type:

str

classmethod stringify_as_double3_array(value) str

Stringify as Double 3Array

Parameters:

value (Array[Vector]) –

Return type:

str

classmethod stringify_as_double4(value) str

Stringify as Double 4

Parameters:

value (Vector4) –

Return type:

str

classmethod stringify_as_double4_array(value) str

Stringify as Double 4Array

Parameters:

value (Array[Vector4]) –

Return type:

str

classmethod stringify_as_double_array(value) str

Stringify as Double Array

Parameters:

value (Array[double]) –

Return type:

str

classmethod stringify_as_float(value) str

Stringify as Float

Parameters:

value (float) –

Return type:

str

classmethod stringify_as_float2(value) str

Stringify as Float 2

Parameters:

value (Vector2D) –

Return type:

str

classmethod stringify_as_float2_array(value) str

Stringify as Float 2Array

Parameters:

value (Array[Vector2D]) –

Return type:

str

classmethod stringify_as_float3(value) str

Stringify as Float 3

Parameters:

value (Vector) –

Return type:

str

classmethod stringify_as_float3_array(value) str

Stringify as Float 3Array

Parameters:

value (Array[Vector]) –

Return type:

str

classmethod stringify_as_float4(value) str

Stringify as Float 4

Parameters:

value (Vector4) –

Return type:

str

classmethod stringify_as_float4_array(value) str

Stringify as Float 4Array

Parameters:

value (Array[Vector4]) –

Return type:

str

classmethod stringify_as_float_array(value) str

Stringify as Float Array

Parameters:

value (Array[float]) –

Return type:

str

classmethod stringify_as_half(value) str

Stringify as Half

Parameters:

value (float) –

Return type:

str

classmethod stringify_as_half2(value) str

Stringify as Half 2

Parameters:

value (Vector2D) –

Return type:

str

classmethod stringify_as_half2_array(value) str

Stringify as Half 2Array

Parameters:

value (Array[Vector2D]) –

Return type:

str

classmethod stringify_as_half3(value) str

Stringify as Half 3

Parameters:

value (Vector) –

Return type:

str

classmethod stringify_as_half3_array(value) str

Stringify as Half 3Array

Parameters:

value (Array[Vector]) –

Return type:

str

classmethod stringify_as_half4(value) str

Stringify as Half 4

Parameters:

value (Vector4) –

Return type:

str

classmethod stringify_as_half4_array(value) str

Stringify as Half 4Array

Parameters:

value (Array[Vector4]) –

Return type:

str

classmethod stringify_as_half_array(value) str

Stringify as Half Array

Parameters:

value (Array[float]) –

Return type:

str

classmethod stringify_as_int(value) str

Stringify as Int

Parameters:

value (int32) –

Return type:

str

classmethod stringify_as_int2(value) str

Stringify as Int 2

Parameters:

value (IntPoint) –

Return type:

str

classmethod stringify_as_int2_array(value) str

Stringify as Int 2Array

Parameters:

value (Array[IntPoint]) –

Return type:

str

classmethod stringify_as_int3(value) str

Stringify as Int 3

Parameters:

value (IntVector) –

Return type:

str

classmethod stringify_as_int3_array(value) str

Stringify as Int 3Array

Parameters:

value (Array[IntVector]) –

Return type:

str

classmethod stringify_as_int4(value) str

Stringify as Int 4

Parameters:

value (IntVector4) –

Return type:

str

classmethod stringify_as_int4_array(value) str

Stringify as Int 4Array

Parameters:

value (Array[IntVector4]) –

Return type:

str

classmethod stringify_as_int64(value) str

Stringify as Int 64

Parameters:

value (int64) –

Return type:

str

classmethod stringify_as_int64_array(value) str

Stringify as Int 64Array

Parameters:

value (Array[int64]) –

Return type:

str

classmethod stringify_as_int_array(value) str

Stringify as Int Array

Parameters:

value (Array[int32]) –

Return type:

str

classmethod stringify_as_list_op_tokens(value) str

Stringify as List Op Tokens

Parameters:

value (Array[str]) –

Return type:

str

classmethod stringify_as_matrix2d(value) str

Stringify as Matrix 2d

Parameters:

value (Matrix2D) –

Return type:

str

classmethod stringify_as_matrix2d_array(value) str

Stringify as Matrix 2d Array

Parameters:

value (Array[Matrix2D]) –

Return type:

str

classmethod stringify_as_matrix3d(value) str

Stringify as Matrix 3d

Parameters:

value (Matrix3D) –

Return type:

str

classmethod stringify_as_matrix3d_array(value) str

Stringify as Matrix 3d Array

Parameters:

value (Array[Matrix3D]) –

Return type:

str

classmethod stringify_as_matrix4d(value) str

Stringify as Matrix 4d

Parameters:

value (Matrix) –

Return type:

str

classmethod stringify_as_matrix4d_array(value) str

Stringify as Matrix 4d Array

Parameters:

value (Array[Matrix]) –

Return type:

str

classmethod stringify_as_quatd(value) str

Stringify as Quatd

Parameters:

value (Quat) –

Return type:

str

classmethod stringify_as_quatd_array(value) str

Stringify as Quatd Array

Parameters:

value (Array[Quat]) –

Return type:

str

classmethod stringify_as_quatf(value) str

Stringify as Quatf

Parameters:

value (Quat) –

Return type:

str

classmethod stringify_as_quatf_array(value) str

Stringify as Quatf Array

Parameters:

value (Array[Quat]) –

Return type:

str

classmethod stringify_as_quath(value) str

Stringify as Quath

Parameters:

value (Quat) –

Return type:

str

classmethod stringify_as_quath_array(value) str

Stringify as Quath Array

Parameters:

value (Array[Quat]) –

Return type:

str

classmethod stringify_as_string(value) str

Stringify as String

Parameters:

value (str) –

Return type:

str

classmethod stringify_as_string_array(value) str

Stringify as String Array

Parameters:

value (Array[str]) –

Return type:

str

classmethod stringify_as_timecode(value) str

Stringify as Time Code

Parameters:

value (double) –

Return type:

str

classmethod stringify_as_timecode_array(value) str

Stringify as Time Code Array

Parameters:

value (Array[double]) –

Return type:

str

classmethod stringify_as_token(value) str

Stringify as Token

Parameters:

value (str) –

Return type:

str

classmethod stringify_as_token_array(value) str

Stringify as Token Array

Parameters:

value (Array[str]) –

Return type:

str

classmethod stringify_as_uchar(value) str

Stringify as UChar

Parameters:

value (uint8) –

Return type:

str

classmethod stringify_as_uchar_array(value) str

Stringify as UChar Array

Parameters:

value (Array[uint8]) –

Return type:

str

classmethod stringify_as_uint(value) str

Stringify as UInt

Parameters:

value (int32) –

Return type:

str

classmethod stringify_as_uint64(value) str

Stringify as UInt 64

Parameters:

value (int64) –

Return type:

str

classmethod stringify_as_uint64_array(value) str

Stringify as UInt 64Array

Parameters:

value (Array[int64]) –

Return type:

str

classmethod stringify_as_uint_array(value) str

Stringify as UInt Array

Parameters:

value (Array[int32]) –

Return type:

str

classmethod unstringify_as_asset_path(string) str

Unstringify as Asset Path

Parameters:

string (str) –

Return type:

str

classmethod unstringify_as_asset_path_array(string) Array[str]

Unstringify as Asset Path Array

Parameters:

string (str) –

Return type:

Array[str]

classmethod unstringify_as_bool(string) bool

Unstringify functions

Parameters:

string (str) –

Return type:

bool

classmethod unstringify_as_bool_array(string) Array[bool]

Unstringify array functions

Parameters:

string (str) –

Return type:

Array[bool]

classmethod unstringify_as_double(string) double

Unstringify as Double

Parameters:

string (str) –

Return type:

double

classmethod unstringify_as_double2(string) Vector2D

Unstringify as Double 2

Parameters:

string (str) –

Return type:

Vector2D

classmethod unstringify_as_double2_array(string) Array[Vector2D]

Unstringify as Double 2Array

Parameters:

string (str) –

Return type:

Array[Vector2D]

classmethod unstringify_as_double3(string) Vector

Unstringify as Double 3

Parameters:

string (str) –

Return type:

Vector

classmethod unstringify_as_double3_array(string) Array[Vector]

Unstringify as Double 3Array

Parameters:

string (str) –

Return type:

Array[Vector]

classmethod unstringify_as_double4(string) Vector4

Unstringify as Double 4

Parameters:

string (str) –

Return type:

Vector4

classmethod unstringify_as_double4_array(string) Array[Vector4]

Unstringify as Double 4Array

Parameters:

string (str) –

Return type:

Array[Vector4]

classmethod unstringify_as_double_array(string) Array[double]

Unstringify as Double Array

Parameters:

string (str) –

Return type:

Array[double]

classmethod unstringify_as_float(string) float

Unstringify as Float

Parameters:

string (str) –

Return type:

float

classmethod unstringify_as_float2(string) Vector2D

Unstringify as Float 2

Parameters:

string (str) –

Return type:

Vector2D

classmethod unstringify_as_float2_array(string) Array[Vector2D]

Unstringify as Float 2Array

Parameters:

string (str) –

Return type:

Array[Vector2D]

classmethod unstringify_as_float3(string) Vector

Unstringify as Float 3

Parameters:

string (str) –

Return type:

Vector

classmethod unstringify_as_float3_array(string) Array[Vector]

Unstringify as Float 3Array

Parameters:

string (str) –

Return type:

Array[Vector]

classmethod unstringify_as_float4(string) Vector4

Unstringify as Float 4

Parameters:

string (str) –

Return type:

Vector4

classmethod unstringify_as_float4_array(string) Array[Vector4]

Unstringify as Float 4Array

Parameters:

string (str) –

Return type:

Array[Vector4]

classmethod unstringify_as_float_array(string) Array[float]

Unstringify as Float Array

Parameters:

string (str) –

Return type:

Array[float]

classmethod unstringify_as_half(string) float

Unstringify as Half

Parameters:

string (str) –

Return type:

float

classmethod unstringify_as_half2(string) Vector2D

Unstringify as Half 2

Parameters:

string (str) –

Return type:

Vector2D

classmethod unstringify_as_half2_array(string) Array[Vector2D]

Unstringify as Half 2Array

Parameters:

string (str) –

Return type:

Array[Vector2D]

classmethod unstringify_as_half3(string) Vector

Unstringify as Half 3

Parameters:

string (str) –

Return type:

Vector

classmethod unstringify_as_half3_array(string) Array[Vector]

Unstringify as Half 3Array

Parameters:

string (str) –

Return type:

Array[Vector]

classmethod unstringify_as_half4(string) Vector4

Unstringify as Half 4

Parameters:

string (str) –

Return type:

Vector4

classmethod unstringify_as_half4_array(string) Array[Vector4]

Unstringify as Half 4Array

Parameters:

string (str) –

Return type:

Array[Vector4]

classmethod unstringify_as_half_array(string) Array[float]

Unstringify as Half Array

Parameters:

string (str) –

Return type:

Array[float]

classmethod unstringify_as_int(string) int32

Unstringify as Int

Parameters:

string (str) –

Return type:

int32

classmethod unstringify_as_int2(string) IntPoint

Unstringify as Int 2

Parameters:

string (str) –

Return type:

IntPoint

classmethod unstringify_as_int2_array(string) Array[IntPoint]

Unstringify as Int 2Array

Parameters:

string (str) –

Return type:

Array[IntPoint]

classmethod unstringify_as_int3(string) IntVector

Unstringify as Int 3

Parameters:

string (str) –

Return type:

IntVector

classmethod unstringify_as_int3_array(string) Array[IntVector]

Unstringify as Int 3Array

Parameters:

string (str) –

Return type:

Array[IntVector]

classmethod unstringify_as_int4(string) IntVector4

Unstringify as Int 4

Parameters:

string (str) –

Return type:

IntVector4

classmethod unstringify_as_int4_array(string) Array[IntVector4]

Unstringify as Int 4Array

Parameters:

string (str) –

Return type:

Array[IntVector4]

classmethod unstringify_as_int64(string) int64

Unstringify as Int 64

Parameters:

string (str) –

Return type:

int64

classmethod unstringify_as_int64_array(string) Array[int64]

Unstringify as Int 64Array

Parameters:

string (str) –

Return type:

Array[int64]

classmethod unstringify_as_int_array(string) Array[int32]

Unstringify as Int Array

Parameters:

string (str) –

Return type:

Array[int32]

classmethod unstringify_as_list_op_tokens(string) Array[str]

Unstringify as List Op Tokens

Parameters:

string (str) –

Return type:

Array[str]

classmethod unstringify_as_matrix2d(string) Matrix2D

Unstringify as Matrix 2d

Parameters:

string (str) –

Return type:

Matrix2D

classmethod unstringify_as_matrix2d_array(string) Array[Matrix2D]

Unstringify as Matrix 2d Array

Parameters:

string (str) –

Return type:

Array[Matrix2D]

classmethod unstringify_as_matrix3d(string) Matrix3D

Unstringify as Matrix 3d

Parameters:

string (str) –

Return type:

Matrix3D

classmethod unstringify_as_matrix3d_array(string) Array[Matrix3D]

Unstringify as Matrix 3d Array

Parameters:

string (str) –

Return type:

Array[Matrix3D]

classmethod unstringify_as_matrix4d(string) Matrix

Unstringify as Matrix 4d

Parameters:

string (str) –

Return type:

Matrix

classmethod unstringify_as_matrix4d_array(string) Array[Matrix]

Unstringify as Matrix 4d Array

Parameters:

string (str) –

Return type:

Array[Matrix]

classmethod unstringify_as_quatd(string) Quat

Unstringify as Quatd

Parameters:

string (str) –

Return type:

Quat

classmethod unstringify_as_quatd_array(string) Array[Quat]

Unstringify as Quatd Array

Parameters:

string (str) –

Return type:

Array[Quat]

classmethod unstringify_as_quatf(string) Quat

Unstringify as Quatf

Parameters:

string (str) –

Return type:

Quat

classmethod unstringify_as_quatf_array(string) Array[Quat]

Unstringify as Quatf Array

Parameters:

string (str) –

Return type:

Array[Quat]

classmethod unstringify_as_quath(string) Quat

Unstringify as Quath

Parameters:

string (str) –

Return type:

Quat

classmethod unstringify_as_quath_array(string) Array[Quat]

Unstringify as Quath Array

Parameters:

string (str) –

Return type:

Array[Quat]

classmethod unstringify_as_string(string) str

Unstringify as String

Parameters:

string (str) –

Return type:

str

classmethod unstringify_as_string_array(string) Array[str]

Unstringify as String Array

Parameters:

string (str) –

Return type:

Array[str]

classmethod unstringify_as_timecode(string) double

Unstringify as Time Code

Parameters:

string (str) –

Return type:

double

classmethod unstringify_as_timecode_array(string) Array[double]

Unstringify as Time Code Array

Parameters:

string (str) –

Return type:

Array[double]

classmethod unstringify_as_token(string) str

Unstringify as Token

Parameters:

string (str) –

Return type:

str

classmethod unstringify_as_token_array(string) Array[str]

Unstringify as Token Array

Parameters:

string (str) –

Return type:

Array[str]

classmethod unstringify_as_uchar(string) uint8

Unstringify as UChar

Parameters:

string (str) –

Return type:

uint8

classmethod unstringify_as_uchar_array(string) Array[uint8]

Unstringify as UChar Array

Parameters:

string (str) –

Return type:

Array[uint8]

classmethod unstringify_as_uint(string) int32

Unstringify as UInt

Parameters:

string (str) –

Return type:

int32

classmethod unstringify_as_uint64(string) int64

Unstringify as UInt 64

Parameters:

string (str) –

Return type:

int64

classmethod unstringify_as_uint64_array(string) Array[int64]

Unstringify as UInt 64Array

Parameters:

string (str) –

Return type:

Array[int64]

classmethod unstringify_as_uint_array(string) Array[int32]

Unstringify as UInt Array

Parameters:

string (str) –

Return type:

Array[int32]