Defines a sphere shape for remote rendering.
More...
List of all members.
Public Member Functions |
| Sphere (uint id, Vector3 position, float radius=1.0f) |
| Create a sphere shape.
|
| Sphere (uint id=0u, ushort category=0) |
| Create a sphere shape.
|
| Sphere (uint id, ushort category, Vector3 position, float radius=1.0f) |
| Create a sphere shape.
|
override object | Clone () |
| Clone this shape.
|
Properties |
float | Radius [get, set] |
| Access the sphere radius.
|
Detailed Description
Defines a sphere shape for remote rendering.
Constructor & Destructor Documentation
Tes::Shapes::Sphere::Sphere |
( |
uint |
id, |
|
|
Vector3 |
position, |
|
|
float |
radius = 1.0f |
|
) |
| [inline] |
Create a sphere shape.
- Parameters:
-
id | The shape ID. Zero for transient shapes. |
position | The sphere centre. |
radius | The sphere radius. |
Tes::Shapes::Sphere::Sphere |
( |
uint |
id = 0u , |
|
|
ushort |
category = 0 |
|
) |
| [inline] |
Create a sphere shape.
- Parameters:
-
id | The shape ID. Zero for transient shapes. |
category | Category to which the shape belongs. |
Tes::Shapes::Sphere::Sphere |
( |
uint |
id, |
|
|
ushort |
category, |
|
|
Vector3 |
position, |
|
|
float |
radius = 1.0f |
|
) |
| [inline] |
Create a sphere shape.
- Parameters:
-
id | The shape ID. Zero for transient shapes. |
category | Category to which the shape belongs. |
position | The sphere centre. |
radius | The sphere radius. |
Member Function Documentation
override object Tes::Shapes::Sphere::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: