TalanSoft Toolkits  201707
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | List of all members
iCollideScene Struct Referenceabstract
Inheritance diagram for iCollideScene:
iUnknown iDynamicsScene

Detailed Description

Collide scene interface.

Public Member Functions

virtual iCollideGetCollide () const =0
 Get the parent collide object. {Property}. More...
 
virtual iCollideObjectCreateObject (iCollideShape *apShape)=0
 Creates a new object in the scene. More...
 
virtual tU32 GetNumObjects () const =0
 Get the number of objects in the scene. {Property}. More...
 
virtual iCollideObjectGetObject (tU32 anIndex) const =0
 Get the object at the specified index. {Property}. More...
 
virtual void SetDebugDrawFlags (tPhysicsDebugDrawFlags aFlags)=0
 Set the collide scene's debug draw flags. {Property}. More...
 
virtual tPhysicsDebugDrawFlags GetDebugDrawFlags () const =0
 Get the collide scene's debug draw flags. {Property}. More...
 
virtual tBool DebugDraw (iCanvas *apCanvas)=0
 Draw debugging informations. More...
 
virtual void UpdateBroadphase ()=0
 Update the scene's broadphase. More...
 
- Public Member Functions inherited from iUnknown
virtual tBool IsOK () const =0
 Check if the object is valid. More...
 
virtual tI32 AddRef ()=0
 Signal that one more reference of the object has been created. More...
 
virtual tI32 Release ()=0
 Release a reference of the object. More...
 
virtual void DeleteThis ()=0
 Bypass any reference counting and delete this object. More...
 
virtual void Invalidate ()=0
 Invalidate the object. More...
 
virtual iUnknownQueryInterface (const tUUID &aIID)=0
 Query an interface. More...
 
virtual void ListInterfaces (iMutableCollection *apLst, tU32 anFlags) const =0
 Fill a UUID list containing the UUIDs of the implemented interfaces. More...
 
virtual tI32 SetNumRefs (tI32 anNumRefs)=0
 Set the reference counter directly. More...
 
virtual tI32 GetNumRefs () const =0
 Get the number of references to this object. More...
 

Member Function Documentation

virtual iCollide* GetCollide ( ) const
pure virtual

Get the parent collide object. {Property}.

virtual iCollideObject* CreateObject ( iCollideShape apShape)
pure virtual

Creates a new object in the scene.

virtual tU32 GetNumObjects ( ) const
pure virtual

Get the number of objects in the scene. {Property}.

virtual iCollideObject* GetObject ( tU32  anIndex) const
pure virtual

Get the object at the specified index. {Property}.

virtual void SetDebugDrawFlags ( tPhysicsDebugDrawFlags  aFlags)
pure virtual

Set the collide scene's debug draw flags. {Property}.

virtual tPhysicsDebugDrawFlags GetDebugDrawFlags ( ) const
pure virtual

Get the collide scene's debug draw flags. {Property}.

virtual tBool DebugDraw ( iCanvas apCanvas)
pure virtual

Draw debugging informations.

virtual void UpdateBroadphase ( )
pure virtual

Update the scene's broadphase.

Remarks
Note that iDynamicsScene::Simulate does this automatically so you do not need to call this method if you're using a dynamics scene.
This should be called after each animation phase of the simulator.