Component:Slider`1: Difference between revisions

From Resonite Wiki
m ProbablePrime moved page Slider`1 (Component) to Component:Slider`1: Creating component Namespace
Automated: update Fields, Categories
Line 14: Line 14:
== Usage ==
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
|BaseColor|Color|  
|BaseColor|ColorX|
|ColorDrivers|ColorDriver|  
|ColorDrivers|{{RootFieldType|SyncList`1|[[Type:ColorDriver|ColorDriver]]}}|TypeAdv1=true|
|__legacy_NormalColor|Color|  
|__legacy_NormalColor|ColorX|
|__legacy_HighlightColor|Color|  
|__legacy_HighlightColor|ColorX|
|__legacy_PressColor|Color|  
|__legacy_PressColor|ColorX|
|__legacy_DisabledColor|Color|  
|__legacy_DisabledColor|ColorX|
|__legacy_TintColorMode|ColorMode|  
|__legacy_TintColorMode|ColorMode|
|__legacy_ColorDrive|Color|  
|__legacy_ColorDrive|{{RootFieldType|FieldDrive`1|[[Type:ColorX|ColorX]]}}|TypeAdv7=true|
|IsPressed|Bool|  
|IsPressed|Bool|
|IsHovering|Bool|  
|IsHovering|Bool|
|Value|Float|  
|Value|'''T'''|TypeAdv10=true|
|Min|Float|  
|Min|'''T'''|TypeAdv11=true|
|Max|Float|  
|Max|'''T'''|TypeAdv12=true|
|Integers|Bool|  
|Integers|Bool|
|Power|Float|  
|Power|Float|
|VibrationThreshold|Float|  
|Clamp|Bool|
|SlideDirection|Direction|TypeString16=Slider<Float>|  
|VibrationThreshold|'''T'''|TypeAdv16=true|
|AnchorOffset|Float2|  
|SlideDirection|'''[[#Direction|Direction]]&lt;T&gt;'''|TypeAdv17=true|
|HandleAnchorMinDrive|Float2|  
|AnchorOffset|Float2|
|HandleAnchorMaxDrive|Float2|  
|HandleAnchorMinDrive|{{RootFieldType|FieldDrive`1|[[Type:Float2|Float2]]}}|TypeAdv19=true|
|HandleAnchorMaxDrive|{{RootFieldType|FieldDrive`1|[[Type:Float2|Float2]]}}|TypeAdv20=true|
|FillLineDrive|{{RootFieldType|FieldDrive`1|[[Type:Float2|Float2]]}}|TypeAdv21=true|
}}
}}


Line 46: Line 48:
</translate>
</translate>
[[Category:Generics{{#translation:}}]]
[[Category:Generics{{#translation:}}]]
[[Category:Components{{#translation:}}|Slider`1 (Component){{#translation:}}]]
[[Category:Components{{#translation:}}|Slider`1]]
[[Category:ComponentStubs]]
[[Category:ComponentStubs]]
[[Category:Components:UIX:Interaction{{#translation:}}|Slider`1 (Component){{#translation:}}]]
[[Category:Generic Components{{#translation:}}|Slider`1]]
[[Category:Components With Nested Enums{{#translation:}}|Slider`1]]
[[Category:Components:UIX:Interaction{{#translation:}}|Slider`1]]

Revision as of 21:39, 3 March 2024


This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Component image 
Slider`1 component as seen in the Scene Inspector


Intoduction

Usage

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled.
BaseColor ColorX
ColorDrivers list of ColorDriver
__legacy_NormalColor ColorX
__legacy_HighlightColor ColorX
__legacy_PressColor ColorX
__legacy_DisabledColor ColorX
__legacy_TintColorMode ColorMode
__legacy_ColorDrive field drive of ColorX
IsPressed Bool
IsHovering Bool
Value T
Min T
Max T
Integers Bool
Power Float
Clamp Bool
VibrationThreshold T
SlideDirection Direction<T>
AnchorOffset Float2
HandleAnchorMinDrive field drive of Float2
HandleAnchorMaxDrive field drive of Float2
FillLineDrive field drive of Float2

Behavior

Examples

Related Components