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

Detailed Description

Collide object interface.

Public Member Functions

virtual iCollideShapeGetShape () const =0
 Get the object's associated shape. {Property}. More...
 
virtual void SetEnabled (tBool abEnabled)=0
 Set whether the object is enabled. {Property}. More...
 
virtual tBool GetEnabled () const =0
 Get whether the object is enabled. {Property}. More...
 
virtual void SetName (iHString *ahspName)=0
 Set the name of the object. {Property}. More...
 
virtual iHStringGetName () const =0
 Get the name of the object. {Property}. More...
 
virtual void SetClass (iHString *ahspClass)=0
 Set the class of the object. {Property}. More...
 
virtual iHStringGetClass () const =0
 Get the class of the object. {Property}. More...
 
virtual sVec3f GetMin () const =0
 Get the object's AABB min. {Property}. More...
 
virtual sVec3f GetMax () const =0
 Get the object's AABB max. {Property}. More...
 
virtual sVec3f GetSize () const =0
 Get the object's size. {Property}. More...
 
virtual tF32 GetRadius () const =0
 Get the object's radius. {Property}. More...
 
virtual void SetPosition (const sVec3f &avPos)=0
 Set the object's position. {Property}. More...
 
virtual sVec3f GetPosition () const =0
 Get the object's position. {Property}. More...
 
virtual void SetMatrix (const sMatrixf &aMatrix)=0
 Set the object's matrix. {Property}. More...
 
virtual sMatrixf GetMatrix () const =0
 Get the object's matrix. {Property}. More...
 
virtual tBool SetUserdata (iHString *ahspID, iUnknown *apUserdata)=0
 Set a userdata. {Property}. More...
 
virtual iUnknownGetUserdata (iHString *ahspID) const =0
 Get a userdata. {Property}. More...
 
virtual tSize GetNumUserdata () const =0
 Get the number of userdata. {Property}. More...
 
virtual iHStringGetUserdataName (tU32 anIndex) const =0
 Get the name of the user data at the specified index. {Property}. More...
 
virtual iUnknownGetUserdataFromIndex (tU32 anIndex) const =0
 Get the userdata at the specified index. {Property}. More...
 
virtual void SetKinematic (tBool abEnabled)=0
 Set whether the collide object is kinematic. {Property}. More...
 
virtual tBool GetKinematic () const =0
 Get whether this is a kinematic object. {Property}. 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 iCollideShape* GetShape ( ) const
pure virtual

Get the object's associated shape. {Property}.

virtual void SetEnabled ( tBool  abEnabled)
pure virtual

Set whether the object is enabled. {Property}.

virtual tBool GetEnabled ( ) const
pure virtual

Get whether the object is enabled. {Property}.

virtual void SetName ( iHString ahspName)
pure virtual

Set the name of the object. {Property}.

virtual iHString* GetName ( ) const
pure virtual

Get the name of the object. {Property}.

virtual void SetClass ( iHString ahspClass)
pure virtual

Set the class of the object. {Property}.

virtual iHString* GetClass ( ) const
pure virtual

Get the class of the object. {Property}.

virtual sVec3f GetMin ( ) const
pure virtual

Get the object's AABB min. {Property}.

virtual sVec3f GetMax ( ) const
pure virtual

Get the object's AABB max. {Property}.

virtual sVec3f GetSize ( ) const
pure virtual

Get the object's size. {Property}.

virtual tF32 GetRadius ( ) const
pure virtual

Get the object's radius. {Property}.

virtual void SetPosition ( const sVec3f avPos)
pure virtual

Set the object's position. {Property}.

virtual sVec3f GetPosition ( ) const
pure virtual

Get the object's position. {Property}.

virtual void SetMatrix ( const sMatrixf aMatrix)
pure virtual

Set the object's matrix. {Property}.

virtual sMatrixf GetMatrix ( ) const
pure virtual

Get the object's matrix. {Property}.

virtual tBool SetUserdata ( iHString ahspID,
iUnknown apUserdata 
)
pure virtual

Set a userdata. {Property}.

virtual iUnknown* GetUserdata ( iHString ahspID) const
pure virtual

Get a userdata. {Property}.

virtual tSize GetNumUserdata ( ) const
pure virtual

Get the number of userdata. {Property}.

virtual iHString* GetUserdataName ( tU32  anIndex) const
pure virtual

Get the name of the user data at the specified index. {Property}.

virtual iUnknown* GetUserdataFromIndex ( tU32  anIndex) const
pure virtual

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

virtual void SetKinematic ( tBool  abEnabled)
pure virtual

Set whether the collide object is kinematic. {Property}.

Remarks
A kinematic object is a manually animated object which influences dynamic bodies.
virtual tBool GetKinematic ( ) const
pure virtual

Get whether this is a kinematic object. {Property}.