An Entity is a type of Asset that allows you to store a root Object and its attachments (if any) and their properties; when the Entity is created the necessary Script to rebuild the whole hierarchy dynamically is generated.

At runtime all you have to do is to use the Scene::AddEntity function to place and append an Entity to a specific Scene.

Entities are also much more than re-usable Object; they can also be use along with a ParticleEmitter allowing you to launch them in space the same way you would do with Particles.

See Also

Static Variables

Name Description
asset Parent Asset associated to the current Entity.
object Internal Stream that contains the necessary Script to reconstruct an Object (and child objects, if any) dynamically at runtime.

NRG - API 2022.4.384543 - Fri Nov 4 2022
Copyright © 2022 nrgcore.com. All Rights Reserved. Terms of Service - Privacy Policy - EULA