docs.unity.cn
    Show / Hide Table of Contents

    Class XformableSample

    Inheritance
    Object
    SampleBase
    ImageableSample
    XformableSample
    SkeletonSample
    BoundableSample
    XformSample
    Inherited Members
    SampleBase.Free()
    Namespace: USD.NET.Unity
    Syntax
    [Serializable]
    [UsdSchema("UsdGeomXformable")]
    public class XformableSample : ImageableSample

    Constructors

    XformableSample()

    Declaration
    public XformableSample()

    Fields

    xformOpOrder

    Declaration
    [UsdVariability(Variability.Uniform)]
    public string[] xformOpOrder
    Field Value
    Type Description
    String[]

    Properties

    transform

    Declaration
    [UsdNamespace("xformOp")]
    [FusedTransform]
    public Matrix4x4 transform { get; set; }
    Property Value
    Type Description
    Matrix4x4

    Methods

    ConvertTransform()

    Converts the transform from Unity to USD or vice versa. This is required after reading values from USD or before writing values to USD.

    Declaration
    public void ConvertTransform()

    FromTransform(Transform)

    Declaration
    public static XformableSample FromTransform(Transform transform)
    Parameters
    Type Name Description
    Transform transform
    Returns
    Type Description
    XformableSample
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Friday, June 23, 2023