|
3rd Eye Scene C#
3rd Eye Scene C# documentation
|
Defines cone shape for remote rendering. More...
Public Member Functions | |
| Cone (uint id, Vector3 origin, Vector3 dir, float angle, float length) | |
| Create a new cone. | |
| Cone (uint id, Vector3 origin, Vector3 basePoint, float radius) | |
| Create a new cone. | |
| Cone (uint id=0u, ushort category=0) | |
| Create a new cone. | |
| Cone (uint id, ushort category, Vector3 origin, Vector3 dir, float angle, float length) | |
| Create a new cone. | |
| Cone (uint id, ushort category, Vector3 origin, Vector3 basePoint, float radius) | |
| Create a new cone. | |
| override object | Clone () |
| Clone this shape. | |
Public Attributes | |
| const float | DefaultAngle = 45.0f / 180.0f * (float)Math.PI |
| Default angle when not otherwise specified. | |
| const float | DefaultLength = 1.0f |
| Default length when not otherwise specified. | |
Static Public Attributes | |
| static Vector3 | DefaultDirection = Vector3.AxisZ |
| The default major axis when rendering with an identity quaternion rotation. | |
Properties | |
| float | Angle [get, set] |
| Access the cone angle (radians). | |
| float | Length [get, set] |
| Access the cone length. | |
| Vector3 | Point [get, set] |
| Access the cone apex. | |
| Vector3 | Direction [get, set] |
| Access the cone major axis. | |
Defines cone shape for remote rendering.
For cones, the ScaleX component contains the cone angle.
| Tes::Shapes::Cone::Cone | ( | uint | id, |
| Vector3 | origin, | ||
| Vector3 | dir, | ||
| float | angle, | ||
| float | length | ||
| ) | [inline] |
Create a new cone.
| id | The shape ID. Zero for transient shapes. |
| origin | The apex of the cone. |
| dir | The major axis. |
| angle | The cone angle (radians). |
| length | The length of the cone. |
Create a new cone.
| id | The shape ID. Zero for transient shapes. |
| origin | The apex of the cone. |
| basePoint | The position of the centre of the cone base. |
| radius | The cone radius at the base. |
| Tes::Shapes::Cone::Cone | ( | uint | id = 0u, |
| ushort | category = 0 |
||
| ) | [inline] |
Create a new cone.
| id | The shape ID. Zero for transient shapes. |
| category | Category to which the shape belongs. |
| Tes::Shapes::Cone::Cone | ( | uint | id, |
| ushort | category, | ||
| Vector3 | origin, | ||
| Vector3 | dir, | ||
| float | angle, | ||
| float | length | ||
| ) | [inline] |
Create a new cone.
| id | The shape ID. Zero for transient shapes. |
| category | Category to which the shape belongs. |
| origin | The apex of the cone. |
| dir | The major axis. |
| angle | The cone angle (radians). |
| length | The length of the cone. |
| Tes::Shapes::Cone::Cone | ( | uint | id, |
| ushort | category, | ||
| Vector3 | origin, | ||
| Vector3 | basePoint, | ||
| float | radius | ||
| ) | [inline] |
Create a new cone.
| id | The shape ID. Zero for transient shapes. |
| category | Category to which the shape belongs. |
| origin | The apex of the cone. |
| basePoint | The position of the centre of the cone base. |
| radius | The cone radius at the base. |
| override object Tes::Shapes::Cone::Clone | ( | ) | [inline, virtual] |