Angulos
Loading...
Searching...
No Matches
Angulos._3d.ObjectRepresentation.Hierarchies.Scene Class Reference

A scene in the world. More...

Public Member Functions

 Scene ()
 Creates a new scene with no objects.
 Scene (SimulatedObject[] objects, short hierarchyId)
 Creates a new scene with the given objects and hierarchy ID.

Static Public Member Functions

static void RegisterObject (short hierarchyId, SimulatedObject obj)
 Places a object in the scene.
static uint GetObjectID (SimulatedObject obj)
 Gets the index of a object given the object.

Static Public Attributes

static uint[] takenObjectIDs = []
 The object IDs that have already been taken.

Properties

SimulatedObject[] Objects [get, set]
 The objects in the scene. If you change this it will (somewhat slowly) set up/remove the objects to render.
short SceneID = 0 [get]
 A unique ID for the scene.
string Name = "Scene" [get, set]
 The name of the scene.

Detailed Description

A scene in the world.

Constructor & Destructor Documentation

◆ Scene()

Angulos._3d.ObjectRepresentation.Hierarchies.Scene.Scene ( SimulatedObject[] objects,
short hierarchyId )
inline

Creates a new scene with the given objects and hierarchy ID.

Parameters
objects
hierarchyId

Member Function Documentation

◆ RegisterObject()

void Angulos._3d.ObjectRepresentation.Hierarchies.Scene.RegisterObject ( short hierarchyId,
SimulatedObject obj )
inlinestatic

Places a object in the scene.

Parameters
hierarchyId
obj

The documentation for this class was generated from the following file:
  • Sharp/_3d/ObjectRepresentation/Hierarchies/Scene.cs