Component:Slider: Difference between revisions

From Resonite Wiki
add template
Automated: update Fields, Categories
Line 6: Line 6:
== Usage ==
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
|EditModeOnly|Bool|  
|EditModeOnly|Bool|
|AllowSteal|Bool|  
|AllowSteal|Bool|
|DropOnDisable|Bool|  
|DropOnDisable|Bool|
|DontDrive|Bool|  
|DontDrive|Bool|
|AllowOnlyPhysicalGrab|Bool|  
|AllowOnlyPhysicalGrab|Bool|
|ActiveUserFilter|ActiveUserHandling|  
|ActiveUserFilter|ActiveUserHandling|
|CustomGrabCheck|GrabCheck|  
|CustomGrabCheck|{{RootFieldType|SyncDelegate`1|[[Type:GrabCheck|GrabCheck]]}}|TypeAdv6=true|
|_grabber|Grabber|
|_grabber|'''[[Component:Grabber|Grabber]]'''|TypeAdv7=true|
|_holdSlot|Slot|  
|_holdSlot|Slot|
|_pos|Float3|  
|_pos|{{RootFieldType|DriveRef`1|[[Type:Sync`1|Sync`1]]<[[Type:Float3|Float3]]>}}|TypeAdv9=true|
|_rot|FloatQ|  
|_rot|{{RootFieldType|DriveRef`1|[[Type:Sync`1|Sync`1]]<[[Type:FloatQ|FloatQ]]>}}|TypeAdv10=true|
|_scl|Float3|  
|_scl|{{RootFieldType|DriveRef`1|[[Type:Sync`1|Sync`1]]<[[Type:Float3|Float3]]>}}|TypeAdv11=true|
|__legacyActiveUserRootOnly|Bool|  
|__legacyActiveUserRootOnly|Bool|
|GrabPriority|Int| {{Template:Grab Priority}}  
|GrabPriority|Int| {{Template:Grab Priority}}
|Rotatable|Bool|  
|Rotatable|Bool|
|Scalable|Bool|  
|Scalable|Bool|
|Range|Float3|  
|Range|Float3|
|Origin|Float3|  
|Origin|Float3|
|MinScale|Float3|  
|MinScale|Float3|
|MaxScale|Float3|  
|MaxScale|Float3|
|VibrationOffset|Float|  
|VibrationOffset|Float|
|VibrationPreset|VibratePreset|  
|VibrationPreset|VibratePreset|
|SnapIncrement|Float|  
|SnapIncrement|Float|
|SnapTime|Float|  
|SnapTime|Float|
|SnapOnRelease|Bool|  
|SnapOnRelease|Bool|
|SnapPositions|SnapPosition|  
|SnapPositions|{{RootFieldType|SyncList`1|[[#SnapPosition|SnapPosition]]}}|TypeAdv25=true|
|posOffset|Float3|  
|posOffset|Float3|
|rotOffset|FloatQ|  
|rotOffset|FloatQ|
|scaleReference|Float3|  
|scaleReference|Float3|
|referenceParent|Slot|  
|referenceParent|Slot|
}}
}}
== Behavior ==
== Behavior ==
Line 43: Line 43:
== Related Components ==
== Related Components ==
[[:Category:Draggable]]
[[:Category:Draggable]]
[[Category:Components{{#translation:}}|Slider{{#translation:}}]]
[[Category:Components{{#translation:}}|Slider]]
[[Category:Components:Transform:Interaction{{#translation:}}|Slider{{#translation:}}]]
[[Category:Components:Transform:Interaction{{#translation:}}|Slider]]
[[Category:Components With Nested Types{{#translation:}}|Slider]]
[[Category:Draggable]]
[[Category:Draggable]]

Revision as of 21:34, 3 March 2024

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

See Component:Slider`1 for the UIX Slider component.

Component image 
Slider 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.
EditModeOnly Bool
AllowSteal Bool
DropOnDisable Bool
DontDrive Bool
AllowOnlyPhysicalGrab Bool
ActiveUserFilter ActiveUserHandling
CustomGrabCheck GrabCheck
_grabber Grabber
_holdSlot Slot
_pos direct DriveRef`1<Sync`1<Float3>>
_rot direct DriveRef`1<Sync`1<FloatQ>>
_scl direct DriveRef`1<Sync`1<Float3>>
__legacyActiveUserRootOnly Bool
GrabPriority Int Determines what gets grabbed if several grabbable objects are touching someone's grab sphere. The IGrabbable with the highest priority will be grabbed first. If the highest priority ties with another IGrabbable, it will grab both of those and ignore any lower priority IGrabbables.
Rotatable Bool
Scalable Bool
Range Float3
Origin Float3
MinScale Float3
MaxScale Float3
VibrationOffset Float
VibrationPreset VibratePreset
SnapIncrement Float
SnapTime Float
SnapOnRelease Bool
SnapPositions list of SnapPosition
posOffset Float3
rotOffset FloatQ
scaleReference Float3
referenceParent Slot

Behavior

Examples

Related Components

Category:Draggable