3rd Eye Scene C#
3rd Eye Scene C# documentation
Tes::Shapes::Box Class Reference

Defines a box shape for remote rendering. More...

Inheritance diagram for Tes::Shapes::Box:
Tes::Shapes::Shape

List of all members.

Public Member Functions

 Box (uint id, Vector3 pos, Vector3 scale, Quaternion rot)
 Construct a box shape.
 Box (uint id, Vector3 pos, Vector3 scale)
 Construct a box shape.
 Box (uint id=0u, ushort category=0)
 Construct a box shape.
 Box (uint id, ushort category, Vector3 pos, Vector3 scale, Quaternion rot)
 Construct a box shape.
 Box (uint id, ushort category, Vector3 pos, Vector3 scale)
 Construct a box shape.
override object Clone ()
 Clone this shape.

Detailed Description

Defines a box shape for remote rendering.

The box defaults to a unit cube. The scale represents the edge lengths.


Constructor & Destructor Documentation

Tes::Shapes::Box::Box ( uint  id,
Vector3  pos,
Vector3  scale,
Quaternion  rot 
) [inline]

Construct a box shape.

Parameters:
idThe shape ID. Zero for transient shapes.
posDefines the centre of the shape.
scaleThe box edge lengths or extents.
rotA quaternion rotation applied to the shape.
Tes::Shapes::Box::Box ( uint  id,
Vector3  pos,
Vector3  scale 
) [inline]

Construct a box shape.

Parameters:
idThe shape ID. Zero for transient shapes.
posDefines the centre of the shape.
scaleThe box edge lengths or extents.
Tes::Shapes::Box::Box ( uint  id = 0u,
ushort  category = 0 
) [inline]

Construct a box shape.

Parameters:
idThe shape ID. Zero for transient shapes.
categoryCategory to which the shape belongs.
Tes::Shapes::Box::Box ( uint  id,
ushort  category,
Vector3  pos,
Vector3  scale,
Quaternion  rot 
) [inline]

Construct a box shape.

Parameters:
idThe shape ID. Zero for transient shapes.
categoryCategory to which the shape belongs.
posDefines the centre of the shape.
scaleThe box edge lengths or extents.
rotA quaternion rotation applied to the shape.
Tes::Shapes::Box::Box ( uint  id,
ushort  category,
Vector3  pos,
Vector3  scale 
) [inline]

Construct a box shape.

Parameters:
idThe shape ID. Zero for transient shapes.
categoryCategory to which the shape belongs.
posDefines the centre of the shape.
scaleThe box edge lengths or extents.

Member Function Documentation

override object Tes::Shapes::Box::Clone ( ) [inline, virtual]

Clone this shape.

Returns:
A deep copy of this object.

Reimplemented from Tes::Shapes::Shape.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations Properties Events