Some description of the WorldObject-class
Constructor / Destructor
- WorldObject(world, sceneGraph)
-
Delete()
Deletes the worldobject.
Members
-
SetPosition(x, y, z)
Sets the position for the worldobject.
-
SetRotation(angleDeg, axisX, axisY, axisZ)
Sets the rotation for the worldobject.
-
SetScale(x, y, z)
Sets the scale for the worldobject.
-
SetAnimationTime(time)
Sets the animationtime for the worldobject.
- Cull(face)
-
SetDefaultProgram()
Sets the defaultprogram for the worldobject.
-
SetProgram(shader)
Sets the program for the worldobject.
-
SetParameters(parameters)
Sets the parameters for the worldobject.