Defines cylinder shape for remote rendering.
More...
List of all members.
Public Member Functions |
| | Cylinder (uint id, Vector3 origin, Vector3 up, float length, float radius) |
| | Create a new cylinder.
|
| | Cylinder (uint id, Vector3 startPoint, Vector3 endPoint, float radius) |
| | Create a new cylinder.
|
| | Cylinder (uint id=0u, ushort category=0) |
| | Create a new cylinder.
|
| | Cylinder (uint id, ushort category, Vector3 origin, Vector3 up, float length, float radius) |
| | Create a new cylinder.
|
| | Cylinder (uint id, ushort category, Vector3 startPoint, Vector3 endPoint, float radius) |
| | Create a new cylinder.
|
| override object | Clone () |
| | Clone this shape.
|
Public Attributes |
|
const float | DefaultLength = 1.0f |
| | Default length when not otherwise specified.
|
|
const float | DefaultRadius = 0.5f |
| | Default radius when not otherwise specified.
|
Static Public Attributes |
|
static Vector3 | DefaultUp = Vector3.AxisZ |
| | The default major axis when rendering with an identity quaternion rotation.
|
Properties |
|
float | Radius [get, set] |
| | Access the cylinder radius.
|
|
float | Length [get, set] |
| | Access the cylinder length.
|
|
Vector3 | Centre [get, set] |
| | Access the cylinder centre.
|
|
Vector3 | Up [get, set] |
| | Access the cylinder major axis.
|
Detailed Description
Defines cylinder shape for remote rendering.
Constructor & Destructor Documentation
| Tes::Shapes::Cylinder::Cylinder |
( |
uint |
id, |
|
|
Vector3 |
origin, |
|
|
Vector3 |
up, |
|
|
float |
length, |
|
|
float |
radius |
|
) |
| [inline] |
Create a new cylinder.
- Parameters:
-
| id | The shape ID. Zero for transient shapes. |
| origin | The centre of the shape. |
| up | The major axis. |
| length | The length of the shape. |
| radius | The shape radius. |
| Tes::Shapes::Cylinder::Cylinder |
( |
uint |
id, |
|
|
Vector3 |
startPoint, |
|
|
Vector3 |
endPoint, |
|
|
float |
radius |
|
) |
| [inline] |
Create a new cylinder.
- Parameters:
-
| id | The shape ID. Zero for transient shapes. |
| startPoint | The first point of the primary axis. |
| endPoint | The second point of the primary axis. |
| radius | The shape radius. |
| Tes::Shapes::Cylinder::Cylinder |
( |
uint |
id = 0u, |
|
|
ushort |
category = 0 |
|
) |
| [inline] |
Create a new cylinder.
- Parameters:
-
| id | The shape ID. Zero for transient shapes. |
| category | Category to which the shape belongs. |
| Tes::Shapes::Cylinder::Cylinder |
( |
uint |
id, |
|
|
ushort |
category, |
|
|
Vector3 |
origin, |
|
|
Vector3 |
up, |
|
|
float |
length, |
|
|
float |
radius |
|
) |
| [inline] |
Create a new cylinder.
- Parameters:
-
| id | The shape ID. Zero for transient shapes. |
| category | Category to which the shape belongs. |
| origin | The centre of the shape. |
| up | The major axis. |
| length | The length of the shape. |
| radius | The shape radius. |
| Tes::Shapes::Cylinder::Cylinder |
( |
uint |
id, |
|
|
ushort |
category, |
|
|
Vector3 |
startPoint, |
|
|
Vector3 |
endPoint, |
|
|
float |
radius |
|
) |
| [inline] |
Create a new cylinder.
- Parameters:
-
| id | The shape ID. Zero for transient shapes. |
| category | Category to which the shape belongs. |
| startPoint | The first point of the primary axis. |
| endPoint | The second point of the primary axis. |
| radius | The shape radius. |
Member Function Documentation
| override object Tes::Shapes::Cylinder::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:
- 3esCore/Shapes/Cylinder.cs