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

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

Inheritance diagram for Tes::Shapes::Sphere:
Tes::Shapes::Shape

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:
idThe shape ID. Zero for transient shapes.
positionThe sphere centre.
radiusThe sphere radius.
Tes::Shapes::Sphere::Sphere ( uint  id = 0u,
ushort  category = 0 
) [inline]

Create a sphere shape.

Parameters:
idThe shape ID. Zero for transient shapes.
categoryCategory 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:
idThe shape ID. Zero for transient shapes.
categoryCategory to which the shape belongs.
positionThe sphere centre.
radiusThe 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:
 All Classes Namespaces Functions Variables Enumerations Properties Events