UsdXform#
(Usd Xform)
- Abstract Class
- Default object name:
usd_xform
- Inherits from: ProjectItem > SceneItem > Locator
No corresponding User page.
Description#
USD Xform reference.
Public Attributes#
Type | Name | Visual Hint | Description |
---|---|---|---|
string |
prim_path |
VISUAL_HINT_DEFAULT |
Prim path in the USD stage. |
string |
purpose |
VISUAL_HINT_DEFAULT |
Purpose of this prim. |
long |
frame |
VISUAL_HINT_FRAME |
Define the frame value used to evaluate the geometry. |
long |
frame_offset |
VISUAL_HINT_FRAME |
Define the frame offset. Example: if the frame offset is 50 while the animation starts at frame 10, then it will start at frame 60. |
long |
animation_behavior |
VISUAL_HINT_DEFAULT |
Define the animation loop behavior. |
bool |
force_animation_range |
VISUAL_HINT_DEFAULT |
Enable the defined animation range, used to override the object's original animation range. |
long[2] |
animation_range |
VISUAL_HINT_FRAME |
Start and end frames for the animation. |
Inherited Public Attributes#
Type | Name | Visual Hint | Description |
---|---|---|---|
double[3] |
translate |
VISUAL_HINT_DISTANCE |
Set the XYZ position of the item relative to its parent item. |
double[3] |
rotate |
VISUAL_HINT_ANGLE |
Set the XYZ rotation of the item relative to its parent item. |
double[3] |
scale |
VISUAL_HINT_SCALE |
Set the XYZ scaling of the item relative to its parent item. |
double[3] |
shear |
VISUAL_HINT_SCALE |
Set the XYZ shear of the item relative to its parent item. |
long |
rotation_order |
VISUAL_HINT_DEFAULT |
Specify on which order the Euler rotations are composed. By default Clarisse's uses YXZ |
reference (SceneItem ) |
parent |
VISUAL_HINT_DEFAULT |
Set the parent item of the item. |
bool |
inherit_transform |
VISUAL_HINT_DEFAULT |
Does the current object inherits its parent transformation ? |
long |
reference_frame |
VISUAL_HINT_FRAME |
Set the reference frame that defines the base transform and deformation state of the item. This reference is used when computing texture projections or when generating point cloud (in Global Base) on the base geometry. |
object[] (Constraint ) |
constraints |
VISUAL_HINT_DEFAULT |
Stack of constraint operators. Constraints like Target, Point, Orient... are applied to a Scene Item in order to drive the transformation of the item. |
double[3] |
scale_pivot |
VISUAL_HINT_DISTANCE |
Set the coordinates of the scale pivot. |
double[3] |
rotate_pivot |
VISUAL_HINT_DISTANCE |
Set the coordinates of the rotation pivot. |
double[3] |
translate_offset |
VISUAL_HINT_DISTANCE |
Set the XYZ position of the pivot point of the item. |
double[3] |
rotate_offset |
VISUAL_HINT_ANGLE |
Set the XYZ rotation of the pivot point of the item. |
double[3] |
scale_offset |
VISUAL_HINT_SCALE |
Set the XYZ scaling of the pivot point of the item. |
long |
rotation_offset_order |
VISUAL_HINT_DEFAULT |
Set the rotation axis mode. |
bool |
display_visible |
VISUAL_HINT_DEFAULT |
Set whether the item is shown in the 3D View or not. |
bool |
display_pickable |
VISUAL_HINT_DEFAULT |
Set whether the item is pickable in the 3D View or in the Image View. |
long |
display_color |
VISUAL_HINT_DEFAULT |
Set the item color for constant or simple shading display in the 3D View. |
double[3] |
display_custom_color |
VISUAL_HINT_COLOR |
Set the item custom color used for display in the 3D View when the Display Color attribute is set to Custom. |
long |
visibility_mode |
VISUAL_HINT_DEFAULT |
Set how visibility attributes 'Display Visible' and 'Unseen By Renderer' are driven. In Use Project Preferences mode, the mode uses the project preference value. In Override mode, the attributes are set manually. In Use Property mode, the attributes are driven by a property (e.g. Alembic visibility property). |
bool |
enable_motion_blur |
VISUAL_HINT_DEFAULT |
Set whether the renderer will do motion blur on the item or not. |
CID#
class "UsdXform" "Locator" {
abstract yes
#version 1
icon "./icons/xform_usd.iconrc"
doc "USD Xform reference."
bool "purpose_selected" {
output "geometry"
private yes
saveable no
value yes
}
string "session_layer" {
private yes
value ""
}
attribute_group "USD" {
list<filename_open> "filename" {
doc "The filename that were used to create the stage from which this object is referenced."
private yes
dg_active no
read_only yes
value <empty>
}
string "prim_path" {
doc "Prim path in the USD stage."
dg_active no
read_only yes
value ""
}
string "purpose" {
doc "Purpose of this prim."
saveable no
dg_active no
read_only yes
value "default"
}
long "stage_id" {
private yes
saveable no
dg_active no
read_only yes
value -1
}
}
attribute_group "USD>playback" {
collapsed yes
frame "frame" {
doc "Define the frame value used to evaluate the geometry."
animatable yes
value[] 0
expression "F"
}
frame "frame_offset" {
doc "Define the frame offset. Example: if the frame offset is 50 while the animation starts at frame 10, then it will start at frame 60."
animatable yes
value 0
}
long "animation_behavior" {
doc "Define the animation loop behavior."
preset "Hold" "0"
preset "Repeat" "1"
value 0
}
bool "force_animation_range" {
doc "Enable the defined animation range, used to override the object\'s original animation range."
value no
}
frame[2] "animation_range" {
doc "Start and end frames for the animation."
read_only yes
value 0 50
}
double "time_offset" {
private yes
saveable no
read_only yes
value 0.0
}
}
attribute_group "USD>variant_sets" {
collapsed yes
}
}