Method BuildXform
BuildXform(SdfPath, XformableSample, GameObject, SceneImportOptions, Scene)
Copies the transform value from USD to Unity, optionally changing handedness in the process.
Declaration
public static void BuildXform(pxr.SdfPath path, XformableSample usdXf, GameObject go, SceneImportOptions options, Scene scene)
Parameters
Type | Name | Description |
---|---|---|
SdfPath | path | |
XformableSample | usdXf | |
GameObject | go | |
SceneImportOptions | options | |
Scene | scene |
BuildXform(Matrix4x4, GameObject, SceneImportOptions)
Declaration
public static void BuildXform(Matrix4x4 xf, GameObject go, SceneImportOptions options)
Parameters
Type | Name | Description |
---|---|---|
Matrix4x4 | xf | |
GameObject | go | |
SceneImportOptions | options |