docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Variant

    Variant property

    Inheritance
    object
    Variant
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Pixyz.UnitySDK.Components
    Assembly: Unity.Pixyz.UnitySDK.Runtime.dll
    Syntax
    [Serializable]
    public class Variant

    Properties

    Active

    Overridable active property

    Declaration
    public bool? Active { get; set; }
    Property Value
    Type Description
    bool?

    Annotations

    Transforms part of this variant (PMI)

    Declaration
    public Transform[] Annotations { get; set; }
    Property Value
    Type Description
    Transform[]

    FieldOfView

    FOV of the overwritten view

    Declaration
    public double FieldOfView { get; set; }
    Property Value
    Type Description
    double

    GroupName

    Variant group name

    Declaration
    public string GroupName { get; set; }
    Property Value
    Type Description
    string

    Materials

    Overridable materials

    Declaration
    public Material[] Materials { get; set; }
    Property Value
    Type Description
    Material[]

    Matrix

    Get the variant matrix

    Declaration
    public Matrix4x4 Matrix { set; }
    Property Value
    Type Description
    Matrix4x4

    Name

    Variant name

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    string

    Position

    Overridable position

    Declaration
    public Vector3? Position { get; set; }
    Property Value
    Type Description
    Vector3?

    Rotation

    Overridable rotation

    Declaration
    public Quaternion? Rotation { get; set; }
    Property Value
    Type Description
    Quaternion?

    Scale

    Overridable scale

    Declaration
    public Vector3? Scale { get; set; }
    Property Value
    Type Description
    Vector3?

    View

    Overridable view

    Declaration
    public Matrix4x4 View { get; set; }
    Property Value
    Type Description
    Matrix4x4

    ViewIsOrtho

    Describes if the overwritten view is orthographic

    Declaration
    public bool ViewIsOrtho { get; set; }
    Property Value
    Type Description
    bool

    ViewIsSet

    Describes if this variant overrides the view (PMI)

    Declaration
    public bool ViewIsSet { get; set; }
    Property Value
    Type Description
    bool
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)