Show / Hide Table of Contents

Detail of UI Element

This page described the detail of components related to V Gear_UI (Script).

Note: This page is still Under Construction.

Transition Settings

[Transition]
Color FieldShader color field name for materials.
Should not be changed if using default material.
Origin ColorThe original color for the UI element.
Origin AlphaThe original alpha for the UI element.
Origin OutlineAn Outline structure to save the original outline setting for the UI element.
Origin Outline
- Enable
Enable to enable the outline
Origin Outline
- Color
The color of the outline.
Origin Outline
- Width
The width of the outline.
Origin Outline
- Mode
The mode of the outline.
TransitionStructure for frame and User transition of transformation.
Transition
- Parameter
Transition calculation parameter.
Transition
- Transition Factor
Transition factor value, affected by the parameter.
Transition
- Acceleration Factor
Transition accelerating value.
Transition
- Deceleration Factor
Transition decelerating value.
Transition
- Unscaled Delta TIme
Enable to use unscaled delta time.
UIStateThe state of UI elements after a transition, including
a Transform, a color, an alpha and an outline structure.
Can be used on disable, on select or on click.
Default EnableEnable to enable the UI on start.

Slider Settings

[Slider]
Check Value OnlyTrue to disable the first interaction.
For example be used to content slider.
False example is to be used as volume slider.
Inertia The movement rate after controller release.
No movement for 0, no deceleration for 1.
Value RangeThe interaction return value range of slider.
Note that the value is inherited from VGear interactable, that can be get/set by GetValue() or SetValue() here.
Default Value Sliding value of slider on start.
Controller Transform Structure to calculate controller transformation,
as a factor to map from controller input to the slider, the value of this should be the same ratio to the parent transform scale with the Max Slided Transform to synchorinize controller input.
ObjectDirection Enable to check transform change base on object direction, else base on controller direction
Max Slided TransformThe maximum slider transformation for the slider movement.
Scroll ContentThe transform of scrollcontent.
Max Scroll TransformThe maximum scroll content transformation value from the original.
Sync Slider Synchronized slider, can be used with content slider.

 (Slider) and (Scroll Content) settings of V Gear Slider (Script)

In This Article
Back to top Generated by DocFX