docs.unity3d.com
    Show / Hide Table of Contents

    Class XformableSample

    Inheritance
    Object
    SampleBase
    ImageableSample
    XformableSample
    SkeletonSample
    BoundableSample
    XformSample
    Inherited Members
    SampleBase.Free()
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    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
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on Thursday, October 19, 2023