Component:GrabbableReparentBlock: Difference between revisions

From Resonite Wiki
m ProbablePrime moved page GrabbableReparentBlock (Component) to Component:GrabbableReparentBlock: Creating component Namespace
No edit summary
 
(One intermediate revision by one other user not shown)
Line 6: Line 6:
|Name=GrabbableReparentBlock
|Name=GrabbableReparentBlock
}}
}}
== Intoduction ==
The '''GrabbableReparentBlock''' component prevents any [[Slot|slot]] below it in the hierarchy, up to <code>MaxDepth</code> levels deep, from being reparented to any slot above it.
The '''GrabbableReparentBlock''' component prevents any [[Slot|slot]] below it in the hierarchy, up to <code>MaxDepth</code> levels deep, from being reparented to any slot above it.
== Usage ==
== Usage ==
Line 20: Line 19:
</translate>
</translate>
[[Category:GrabbableExtensions]]
[[Category:GrabbableExtensions]]
[[Category:Components{{#translation:}}|GrabbableReparentBlock (Component){{#translation:}}]]
[[Category:Components{{#translation:}}|Grabbable Reparent Block]]
[[Category:Components:Transform:Tagging{{#translation:}}|GrabbableReparentBlock (Component){{#translation:}}]]
[[Category:Components:Transform:Tagging{{#translation:}}|Grabbable Reparent Block]]

Latest revision as of 00:25, 27 April 2024


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


Component image 
GrabbableReparentBlock component as seen in the Scene Inspector

The GrabbableReparentBlock component prevents any slot below it in the hierarchy, up to MaxDepth levels deep, from being reparented to any slot above it.

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.
DontReparent Bool Don't allow this slot to be reparented. Subject to the rules explained in Grabbable - Behavior
MaxDepth Int Objects beyond this level in the hierarchy will not be effected. Set to Int MaxValue by default

Behavior

Examples

Related Components