glscene

 

TGLSceneObject

Page history last edited by skinhat 4 yrs ago

This is the base class for 3D objects that have a texture and direction. For example a TGLPlane can have a texture and also a direction in space. A TGLLensFlare on the other hand has no texture and no direction therefore is not descended from TGLSceneObject.

Important properties and methods include:

material TGLMaterial : The texture of the object

position TGLCoordinates: The position in 3D space of the object

scale TGLCoordinates: The scale of the object (1 is default)

direction TGLCoordinates: The direction that 3D object is facing

up TGLCoordinates: The up direction of the object

turnangle single: The angle in degrees that the object is turned (left right)

pitchangle single: The angle in degrees the object is turned up and down

rollangle single: The angle in degrees the object is rolled (ie clockwise)

Also has:

property ObjectsSorting;

property VisibilityCulling;

property ShowAxes;

property Visible;

property OnProgress;

property Behaviours;

property Effects;

property Hint;

Unit: GLScene

Descends from TGLCustomSceneObject.

Comments (0)

You don't have permission to comment on this page.