Drag[en]gine Script Module DragonScript Script API  1.0
DebugDrawer Class Reference

Debug drawer. More...

Inheritance diagram for DebugDrawer:

Public Member Functions

Constructors
DebugDrawer new ()
 Create debug drawer. More...
 
Management
DVector getPosition ()
 Pposition. More...
 
void setPosition (DVector position)
 Set position. More...
 
Quaternion getOrientation ()
 Orientation. More...
 
void setOrientation (Quaternion orientation)
 Set orientation. More...
 
Vector getScale ()
 Scaling. More...
 
void setScale (Vector scale)
 Set scaling. More...
 
bool getVisible ()
 Debug drawer is visible. More...
 
void setVisible (bool visible)
 Set if debug drawer is visible. More...
 
bool getXRay ()
 Debug drawer is rendered in x-ray mode. More...
 
void setXRay (bool xray)
 Set if debug drawer is rendered in x-ray mode. More...
 
Shapes
int getShapeCount ()
 Number of shapes. More...
 
void setShapeCount (int count)
 Set number of shapes. More...
 
void shapeSetPosition (int shape, Vector position)
 Set shae position. More...
 
void shapeSetOrientation (int shape, Quaternion orientation)
 Set shape orientation. More...
 
void shapeSetScale (int shape, Vector scale)
 Set shape scaling. More...
 
void shapeSetShapes (int shape, ShapeList shapes)
 Set shape shape list. More...
 
void shapeRemoveAllShapes (int shape)
 Remove all shapes from shape. More...
 
void shapeSetEdgeColor (int shape, Color color)
 Set shape edge color. More...
 
void shapeSetFillColor (int shape, Color color)
 Set shape fill color. More...
 

Detailed Description

Debug drawer.

This is a native class.

Author
Roland Pl├╝ss
Version
1.0
Date
2015

Member Function Documentation

§ getOrientation()

Quaternion getOrientation ( )

Orientation.

§ getPosition()

DVector getPosition ( )

Pposition.

§ getScale()

Vector getScale ( )

Scaling.

§ getShapeCount()

int getShapeCount ( )

Number of shapes.

§ getVisible()

bool getVisible ( )

Debug drawer is visible.

§ getXRay()

bool getXRay ( )

Debug drawer is rendered in x-ray mode.

§ new()

DebugDrawer new ( )

Create debug drawer.

§ setOrientation()

void setOrientation ( Quaternion  orientation)

Set orientation.

§ setPosition()

void setPosition ( DVector  position)

Set position.

§ setScale()

void setScale ( Vector  scale)

Set scaling.

§ setShapeCount()

void setShapeCount ( int  count)

Set number of shapes.

§ setVisible()

void setVisible ( bool  visible)

Set if debug drawer is visible.

§ setXRay()

void setXRay ( bool  xray)

Set if debug drawer is rendered in x-ray mode.

§ shapeRemoveAllShapes()

void shapeRemoveAllShapes ( int  shape)

Remove all shapes from shape.

Exceptions
EOutOfBoundaryshape is less than 0 or larger than or equal to getShapeCount().

§ shapeSetEdgeColor()

void shapeSetEdgeColor ( int  shape,
Color  color 
)

Set shape edge color.

Exceptions
EOutOfBoundaryshape is less than 0 or larger than or equal to getShapeCount().

§ shapeSetFillColor()

void shapeSetFillColor ( int  shape,
Color  color 
)

Set shape fill color.

Exceptions
EOutOfBoundaryshape is less than 0 or larger than or equal to getShapeCount().

§ shapeSetOrientation()

void shapeSetOrientation ( int  shape,
Quaternion  orientation 
)

Set shape orientation.

Exceptions
EOutOfBoundaryshape is less than 0 or larger than or equal to getShapeCount().

§ shapeSetPosition()

void shapeSetPosition ( int  shape,
Vector  position 
)

Set shae position.

Exceptions
EOutOfBoundaryshape is less than 0 or larger than or equal to getShapeCount().

§ shapeSetScale()

void shapeSetScale ( int  shape,
Vector  scale 
)

Set shape scaling.

Exceptions
EOutOfBoundaryshape is less than 0 or larger than or equal to getShapeCount().

§ shapeSetShapes()

void shapeSetShapes ( int  shape,
ShapeList  shapes 
)

Set shape shape list.

Exceptions
EOutOfBoundaryshape is less than 0 or larger than or equal to getShapeCount().

The documentation for this class was generated from the following file: