|
3rd Eye Scene C#
3rd Eye Scene C# documentation
|
Handles capsule shapes (cylinders with rounded, hemisphere end caps). More...
Public Member Functions | |
| CapsuleHandler (Runtime.CategoryCheckDelegate categoryCheck) | |
| Create the shape handler. | |
Protected Member Functions | |
| override GameObject | CreateObject () |
| Override to create an object per capsule part: top, bottom and cylinder. | |
| override void | InitialiseVisual (ShapeComponent obj, Color colour) |
| Initialise the visual components (e.g., meshes) for obj . | |
| override void | DecodeTransform (ObjectAttributes attributes, Transform transform, ObjectFlag flags) |
| Override to decode ScaleX as radius and ScaleZ as length. | |
| override void | EncodeAttributes (ref ObjectAttributes attr, GameObject obj, ShapeComponent comp) |
| Overridden to handle component pieces. | |
| override Shapes.Shape | CreateSerialisationShape (ShapeComponent shapeComponent) |
| Creates an capsule shape for serialisation. | |
Properties | |
| override string | Name [get] |
| Handler name. | |
| override ushort | RoutingID [get] |
| ShapeID.Capsule | |
| override Mesh | SolidMesh [get] |
| Solid mesh representation. | |
| override Mesh | WireframeMesh [get] |
| Wireframe mesh representation. | |
Handles capsule shapes (cylinders with rounded, hemisphere end caps).
| Tes::Handlers::Shape3D::CapsuleHandler::CapsuleHandler | ( | Runtime.CategoryCheckDelegate | categoryCheck | ) | [inline] |
Create the shape handler.
| categoryCheck |
| override GameObject Tes::Handlers::Shape3D::CapsuleHandler::CreateObject | ( | ) | [inline, protected, virtual] |
Override to create an object per capsule part: top, bottom and cylinder.
Reimplemented from Tes::Handlers::ShapeHandler.
| override Shapes.Shape Tes::Handlers::Shape3D::CapsuleHandler::CreateSerialisationShape | ( | ShapeComponent | shapeComponent | ) | [inline, protected, virtual] |
Creates an capsule shape for serialisation.
| shapeComponent | The component to create a shape for. |
Implements Tes::Handlers::ShapeHandler.
| override void Tes::Handlers::Shape3D::CapsuleHandler::InitialiseVisual | ( | ShapeComponent | obj, |
| Color | colour | ||
| ) | [inline, protected, virtual] |
Initialise the visual components (e.g., meshes) for obj .
| obj | The object to initialise visuals for. |
| colour | Primary rendering colour. |
Requires special handling as the capsule is made up of several components.
Reimplemented from Tes::Handlers::ShapeHandler.
override ushort Tes::Handlers::Shape3D::CapsuleHandler::RoutingID [get] |
ShapeID.Capsule
Reimplemented from Tes::Runtime::MessageHandler.