//Constructor with handle public Instance(RenderableObject handle) { inverseNetTransformationMatrix = Matrix4x4.Identity; netTransformationMatrix = Matrix4x4.Identity; payload = handle; this.Material = null; }
/// <summary> /// Appends given render object to the end of the scene list /// </summary> /// <param name="o">Object to add</param> public void AddObjectToScene(RenderableObject o) { _renderList.Add(o); }
/// <summary> /// Appends object to the end of the instantiable objects list /// </summary> /// <param name="o">Object to add</param> public void AddObject(RenderableObject o) { _objectList.Add(o); }
public void AddObject(RenderableObject toAdd) { containedObjects.Add(toAdd); }