Angulos
Loading...
Searching...
No Matches
Angulos._3d.ObjectRepresentation.SimulatedObject Class Reference

An object in a scene in a world. Can have components, a index, mesh, and translation. More...

Inheritance diagram for Angulos._3d.ObjectRepresentation.SimulatedObject:

Public Member Functions

 SimulatedObject (uint SceneIndex=0)
 Creates a new object in the scene at the index of SceneIndex.
int GetSize ()
 Gets the size of the object.

Public Attributes

string Name = "Object"
 The object name.
Translation.Transformation Transformation
 The translation of the object, with the position, rotation, and scale of the object.
Mesh Mesh = ModelImporter.LoadCubeMeshSTL()
 The object's mesh. Initially is just a cube.
IAngulosComponent[] Components = []
 All the components. DO NOT WORK WITH DIRECTLY!

Properties

uint ObjectIndex = 0 [get, set]
 The object's index in the scene.
uint SceneIndex = 0 [get, set]
 The index of the scene the object is in.

Detailed Description

An object in a scene in a world. Can have components, a index, mesh, and translation.

Constructor & Destructor Documentation

◆ SimulatedObject()

Angulos._3d.ObjectRepresentation.SimulatedObject.SimulatedObject ( uint SceneIndex = 0)
inline

Creates a new object in the scene at the index of SceneIndex.

Parameters
SceneIndex

Member Function Documentation

◆ GetSize()

int Angulos._3d.ObjectRepresentation.SimulatedObject.GetSize ( )
inline

Gets the size of the object.

Returns
Exceptions
NotImplementedException

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