Class UIState
The state of UI elements after a transition.
使用者介面過場後的狀態。
Inheritance
System.Object
UIState
Namespace: Votanic.vXR.vGear
Assembly: Votanic.vXR.dll
Syntax
[Serializable]
public class UIState
Constructors
UIState(Vector3, Vector3, Vector3, Color, Single, Outline)
Declare an UI State.
宣告使用者介面狀態。
Declaration
public UIState(Vector3 movement, Vector3 rotation, Vector3 scaling, Color color, float alpha, Outline outline = null)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Vector3 | movement | Position change |
UnityEngine.Vector3 | rotation | Euler angles change |
UnityEngine.Vector3 | scaling | Scale change |
UnityEngine.Color | color | Color synergistic effect |
System.Single | alpha | Alpha synergistic effect |
Outline | outline | Outline effect |
Fields
alpha
Alpha synergistic effect.
不透明度加乘效果。
Declaration
[Tooltip("Alpha synergistic effect.\n不透明度加乘效果。")]
public float alpha
Field Value
Type | Description |
---|---|
System.Single |
color
Color synergistic effect.
顏色加乘效果。
Declaration
[Tooltip("Color synergistic effect.\n顏色加乘效果。")]
public Color color
Field Value
Type | Description |
---|---|
UnityEngine.Color |
movement
Position change.
位置改變。
Declaration
[Tooltip("Position change.\n位置改變。")]
public Vector3 movement
Field Value
Type | Description |
---|---|
UnityEngine.Vector3 |
outline
Outline effect.
輪廓效果。
Declaration
[Tooltip("Outline effect.\n輪廓效果。")]
public Outline outline
Field Value
Type | Description |
---|---|
Outline |
rotation
Euler angles change.
角度改變。
Declaration
[Tooltip("Euler angles change.\n角度改變。")]
public Vector3 rotation
Field Value
Type | Description |
---|---|
UnityEngine.Vector3 |
scaling
Scale change.
大小改變。
Declaration
[Tooltip("Scale change.\n大小改變。")]
public Vector3 scaling
Field Value
Type | Description |
---|---|
UnityEngine.Vector3 |