class Sp2_Obj

The Base Class of all object

Inheritance:


Public Fields

[more]string Name
the name of the object
[more]Sp2_Obj* father
The father of object
[more]int priority
his priority: This is a static value !!!
[more] sons
Sons
[more] entities
his entities
[more]Sp_LTrans trans
The coordinates
[more]Sp_Mat4 coord_camera
The coordinates compared to the active camera

Public Methods

[more] Sp2_Obj()
default constructor Don't use it !!!
[more] Sp2_Obj(char *name, Sp2_Obj *your_father, int prio)
the real constructor
[more]virtual ~Sp2_Obj()
The destructor
[more]void Add_Obj(Sp2_Obj *)
Add a son
[more]void Rem_Obj(Sp2_Obj *)
Remove a son
[more]void Add_Entity(Sp_EntityBase *)
Add an Entity
[more]void Rem_Entity(Sp_EntityBase *)
Rem an Entity
[more]void DrawObj()
Essential function: This is called each frame (used to draw)


Documentation

The Base Class of all object.
o Sp2_Obj()
default constructor Don't use it !!!

o Sp2_Obj(char *name, Sp2_Obj *your_father, int prio)
the real constructor

ovirtual ~Sp2_Obj()
The destructor

ovoid Add_Obj(Sp2_Obj *)
Add a son

ovoid Rem_Obj(Sp2_Obj *)
Remove a son

ovoid Add_Entity(Sp_EntityBase *)
Add an Entity

ovoid Rem_Entity(Sp_EntityBase *)
Rem an Entity

ovoid DrawObj()
Essential function: This is called each frame (used to draw)

ostring Name
the name of the object

oSp2_Obj* father
The father of object

oint priority
his priority: This is a static value !!!

o sons
Sons

o entities
his entities

oSp_LTrans trans
The coordinates

oSp_Mat4 coord_camera
The coordinates compared to the active camera


Direct child classes:
Sp2_View
Sp2_Light
Sp2_Adm

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.