This page has been translated automatically.
UnigineScript
The Language
Core Library
Engine Library
Node-Related Classes
GUI-Related Classes
Plugins Library
High-Level Systems
Samples
C++ API
API Reference
Integration Samples
Usage Examples
C++ Plugins
Content Creation
Materials
Unigine Material Library
Tutorials
注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
注意! 这个版本的文档描述了一个不再受支持的旧SDK版本!请升级到最新的SDK版本。

World Objects

A set of world objects:

  •  World Layer is an invisible world object that performs a background node loading starting with a specified distance.
  •  Sector is a cuboid shaped object that culls all of the objects outside its volume.
  •  Portal is a cuboid opening between two adjacent sectors, through which one sector can be partially seen if looking from another.
  •  World Trigger is a cuboid shaped object, which fires callbacks when any node (collider or not) gets inside or outside of it.
  •  World Cluster is used to manage a great number of node references, baked into one object. Objects can be scattered, but you can also set custom positions and rotations for each object. Using a world cluster is less memory-efficient compared with a world clutter, as it stores transformation info for each node.
  •  World Clutter is used to manage a great number of node references, baked as one object. Unlike world clusters, objects are always scattered, scaled and oriented randomly, so they are even more memory-efficient. However, they cannot be managed manually.
  •  Switcher is a cuboid shaped object, switching off (or turning on) all of the nodes inside of it immediately. A world switcher should be a parent node for the nodes it controls.
  •  Occluder is an object used to cull objects that are not seen behind it.
  •  Transform is an object used to cull objects that are not seen behind it.
  •  World Expression is a cuboid shaped object, inside of which arbitrary expressions are executed. These expressions can be executed for world expression children nodes as well.
Last update: 2017-07-03
Build: ()