Tesseract Engine Documentation

GameObject Methods

The methods of the GameObject class are listed below. For a complete list of GameObject class members, see the GameObject Members topic.

Public Instance Methods

Draw Draws a stand alone model with no instancing or triangle stripping.
Draw_Billboards Called after Draw method. Allows GameObjects to add Billboards to be drawn. List is cleared each pass, or frame.
DrawAIVision Draws the model for ai vision
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetObjectHeight Sets the heightDifference parameter for this GameObject. HeightDifference is positive when object is below the terrain.
GetType (inherited from Object)Gets the Type of the current instance.
Load Load object data from Xml.
Load_Instanced Load object data from Xml.
LoadModel Load model data from XML
ObjectCollisionResponse Default behavior applies force based physics for rebound. Override to supplement behavior. Return true if collidedObject is absorbed or destroyed, else false.
PrepAttack Prepare to fire the particle
Rotate Method called when the rotation buttons have been pressed
RunController Runs the appropriate animation on the model
TerrainCollisionResponse Default behavior applies force based physics for rebound. Override to supplement or replace behavior.
ToString (inherited from Object)Returns a String that represents the current Object.
ToXml 
Translate Method called when the motion buttons have been pressed
Update Update this object

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

GameObject Class | DarkWynter.Engine.GameObjects Namespace