Slot: Difference between revisions

From Resonite Wiki
No edit summary
 
make page translatable
Line 1: Line 1:
<languages/><translate>
<languages/>
 
<!--T:1-->
<!--T:1-->
Every object in Resonite exists as a '''slot'''. A slot is a container for [[Component|Components]], which add additional behavior to slots. Every slot has a transformation (a translation, rotation, and scale) associated with it, which define its behavior and orientation in Resonite's 3D coordinate space. For example, a slot with a [[MeshRenderer_(Component)|MeshRenderer]] component will render a model, and scaling that slot will scale the rendered model.
<translate>Every object in Resonite exists as a '''slot'''. A slot is a container for [[Component|Components]], which add additional behavior to slots. Every slot has a transformation (a translation, rotation, and scale) associated with it, which define its behavior and orientation in Resonite's 3D coordinate space. For example, a slot with a [[MeshRenderer_(Component)|MeshRenderer]] component will render a model, and scaling that slot will scale the rendered model.</translate>


<!--T:2-->
<!--T:2-->
Slots can be contained in other slots. A slot is a '''child''' if it is contained within another slot; that slot is its '''parent'''. A child slot's transformation is relative to its parent, so even though a child slot might specify no transformation, in global space it may be rotated or scaled because its parents are.  Thus, a child's transform is called "local".
<translate>Slots can be contained in other slots. A slot is a '''child''' if it is contained within another slot; that slot is its '''parent'''. A child slot's transformation is relative to its parent, so even though a child slot might specify no transformation, in global space it may be rotated or scaled because its parents are.  Thus, a child's transform is called "local".</translate>


<!--T:3-->
<!--T:3-->
Every world has a root slot under which everything else is placed. The resulting tree of slots is called the ''hierarchy''.
<translate>Every world has a root slot under which everything else is placed. The resulting tree of slots is called the ''hierarchy''.</translate>


<!--T:4-->
<!--T:4-->
Slots can be browsed through and examined in the [[Scene Inspector Dialog|Scene Inspector]].
<translate>Slots can be browsed through and examined in the [[Scene Inspector Dialog|Scene Inspector]].</translate>
</translate>

Revision as of 20:34, 26 January 2024

Every object in Resonite exists as a slot. A slot is a container for Components, which add additional behavior to slots. Every slot has a transformation (a translation, rotation, and scale) associated with it, which define its behavior and orientation in Resonite's 3D coordinate space. For example, a slot with a MeshRenderer component will render a model, and scaling that slot will scale the rendered model.

Slots can be contained in other slots. A slot is a child if it is contained within another slot; that slot is its parent. A child slot's transformation is relative to its parent, so even though a child slot might specify no transformation, in global space it may be rotated or scaled because its parents are. Thus, a child's transform is called "local".

Every world has a root slot under which everything else is placed. The resulting tree of slots is called the hierarchy.

Slots can be browsed through and examined in the Scene Inspector.