Difference between revisions of "Slot"

From Neos Wiki
Jump to navigation Jump to search
(Created page with "* Slots provide structure to worlds. * Each world has exactly one root slot. * Worlds can contain any number of slots next to the single root slot. * Slots are organized in a...")
 
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
* Slots provide structure to worlds.
+
<languages/><translate>
* Each world has exactly one root slot.
+
<!--T:1-->
* Worlds can contain any number of slots next to the single root slot.
+
Every object in Neos 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 Neos' 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.
* Slots are organized in a hierarchy.
+
 
* Each slot can contain a number of Components.
+
<!--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".
 +
 
 +
<!--T:3-->
 +
Every world has a root slot under which everything else is placed. The resulting tree of slots is called the ''hierarchy''.
 +
 
 +
<!--T:4-->
 +
Slots can be browsed through and examined in the [[Scene Inspector Dialog|Scene Inspector]].
 +
</translate>

Latest revision as of 17:05, 20 May 2021

Other languages:
English • ‎日本語 • ‎한국어

Every object in Neos 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 Neos' 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.