Component:Slider: Difference between revisions

From Resonite Wiki
Automated: update Fields, Categories
Removed draggable component link (deprecated!). A little bit of rearranging. Made a suggestion note from this non-description sentence. Changed link to an actual youtube embed.
 
Line 1: Line 1:
{{stub}}'''See [[Component:Slider`1]] for the UIX Slider component.'''{{Infobox Component
{{Infobox Component
|Image=SliderComponent.png
|Image=SliderComponent.png
|Name=Slider
|Name=Slider
}}
}}
== Intoduction ==
 
== Usage ==
{{stub}}
 
(TODO: Write a real description of this component.)
 
{{Note|If you need a 2D slider for [[UIX]] as an element, see the [[Component:Slider`1|UIX Slider]] component.|suggestion}}
 
{{Table ComponentFields
{{Table ComponentFields
|EditModeOnly|Bool|
|EditModeOnly|Bool|
Line 37: Line 42:
|referenceParent|Slot|
|referenceParent|Slot|
}}
}}
== Behavior ==
 
== Usage ==
 
== Examples ==
== Examples ==
* [https://www.youtube.com/watch?v=9Ynl-d0l81E Slider - A useful alternative to Grabbable] by [[User:ProbablePrime|ProbablePrime]]
Slider - A useful alternative to Grabbable - by [[User:ProbablePrime|ProbablePrime]]:
<youtube>9Ynl-d0l81E</youtube>


== Related Components ==
== Related Components ==
[[:Category:Draggable]]
[[Category:Components{{#translation:}}|Slider]]
[[Category:Components{{#translation:}}|Slider]]
[[Category:Components:Transform:Interaction{{#translation:}}|Slider]]
[[Category:Components:Transform:Interaction{{#translation:}}|Slider]]
[[Category:Components With Nested Types{{#translation:}}|Slider]]
[[Category:Components With Nested Types{{#translation:}}|Slider]]
[[Category:Draggable]]
[[Category:Draggable]]

Latest revision as of 04:20, 28 July 2024

Component image 
Slider component as seen in the Scene Inspector


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


(TODO: Write a real description of this component.)

If you need a 2D slider for UIX as an element, see the UIX Slider component.
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

Usage

Examples

Slider - A useful alternative to Grabbable - by ProbablePrime:

Related Components