Class Fader
Color and UI fading transition effect of state.
顏色及使用者介面的狀態過場效果。
Namespace: Votanic.vXR.vCast.Core
Assembly: Votanic.vXR.dll
Syntax
[Serializable]
public class Fader : Motion
Constructors
Fader(Single, Single, Single, MotionParameter)
Declare the fading transition.
宣告過場。
Declaration
public Fader(float factor = 0.25F, float accel = 0F, float decel = 0F, MotionParameter parameter = MotionParameter.Time)
Parameters
Type | Name | Description |
---|---|---|
System.Single | factor | Transition factor value |
System.Single | accel | Transition accelerating value |
System.Single | decel | Transition decelerating value |
MotionParameter | parameter | Translation calculation parameter |
Fields
accelerationFactor
Transition accelerating value.
過場加速值。
Declaration
[Tooltip("Transition accelerating value.\n過場加速值。")]
public float accelerationFactor
Field Value
Type | Description |
---|---|
System.Single |
decelerationFactor
Transition decelerating value.
過場減速值。
Declaration
[Tooltip("Transition decelerating value.\n過場減速值。")]
public float decelerationFactor
Field Value
Type | Description |
---|---|
System.Single |
parameter
Fading transition calculation parameter.
過場計算參數。
Declaration
[Tooltip("Fading transition calculation parameter.\n過場計算參數。")]
public MotionParameter parameter
Field Value
Type | Description |
---|---|
MotionParameter |
transitionFactor
Transition factor value.
過場因子。
Declaration
[Tooltip("Transition factor value.\n過場因子。")]
public float transitionFactor
Field Value
Type | Description |
---|---|
System.Single |
unscaledDeltaTime
Using unscaled delta time if true.
當 true 時使用未縮放的時間變化。
Declaration
[Tooltip("Using unscaled delta time.\n使用未縮放的時間變化。")]
public bool unscaledDeltaTime
Field Value
Type | Description |
---|---|
System.Boolean |