GreaseMonkey (talk | contribs) m Update redirects + category sort keys |
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. |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Infobox Component | |||
|Image=SliderComponent.png | |Image=SliderComponent.png | ||
|Name=Slider | |Name=Slider | ||
}} | }} | ||
{{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| | ||
|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| | |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| | ||
}} | }} | ||
== | |||
== Usage == | |||
== Examples == | == Examples == | ||
Slider - A useful alternative to Grabbable - by [[User:ProbablePrime|ProbablePrime]]: | |||
<youtube>9Ynl-d0l81E</youtube> | |||
== Related Components == | == Related Components == | ||
[[Category:Components{{#translation:}}|Slider]] | |||
[[Category:Components{{#translation:}}|Slider | [[Category:Components:Transform:Interaction{{#translation:}}|Slider]] | ||
[[Category:Components:Transform:Interaction{{#translation:}}|Slider{{#translation:}}]] | [[Category:Components With Nested Types{{#translation:}}|Slider]] | ||
[[Category:Draggable]] | [[Category:Draggable]] |
Latest revision as of 04:20, 28 July 2024
Component image
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
(TODO: Write a real description of this component.)
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: