C3DObject

Top  Previous  Next

Class Description:

Base 3D object class.  Used for creating scenes, transforms and controlling the position of derived objects.

 

Class Methods:

_C3DObject

Class destructor.

AddChild

Adds a child object.

C3DObject

Class constructor.

CreateScene

Creates a scene object.

CreateTransform

Creates a transformation object.

Draw

Draws this object and all attached child objects.

Free

Frees the object.

GetCollisionPoint

Returns the point, in 3D space, of two collided objects.

GetDirection

Retrieves the direction vector of the object.

GetMatrix

Retrieves the transformation matrix used by the object.

GetPosition

Retrieves the position of the object.

InitCollision

Initializes collision testing for this object.

LookAt

Orients the object towards a point in 3D space.

ObjectCollided

Collision testing of the object.

Orient

Sets the up and direction vector of the object.

Position

Positions the object.

RayCollided

Collision testing of the object.

Rotate

Sets the object rotation angle.

Scale

Sets the scale factor for the object.

SetMatrix

Sets the transformation matrix used by this object.

SphereCollided

Collision testing of the object.

 

Class Member Variables:

*m_pData

void

Private data internal to the object.

*m_pScreen

C3DScreen

The parent screen of this object.

 

Located in:

ebx3d.incc

 

Class Hierarchy

C3DObject