Class Variant
Variant property
Inherited Members
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 |