3rd Eye Scene C#
3rd Eye Scene C# documentation
|
Handles 3D text shapes. More...
Public Member Functions | |
Text3DHandler (Runtime.CategoryCheckDelegate categoryCheck) | |
Create the shape handler. | |
override void | Initialise (GameObject root, GameObject serverRoot, MaterialLibrary materials) |
Initialise the shape handler by initialising the shape scene root and fetching the default materials. | |
Protected Member Functions | |
override GameObject | CreateObject () |
Create an object for 3D text. | |
override void | EncodeAttributes (ref ObjectAttributes attr, GameObject obj, ShapeComponent comp) |
Encode transform attributes for text. | |
override Error | PostHandleMessage (GameObject obj, CreateMessage msg, PacketBuffer packet, BinaryReader reader) |
Handle additional CreateMessage data. | |
override Error | PostHandleMessage (GameObject obj, UpdateMessage msg, PacketBuffer packet, BinaryReader reader) |
Handle additional UpdateMessage data. | |
override Shapes.Shape | CreateSerialisationShape (ShapeComponent shapeComponent) |
Creates a text shape for serialisation. | |
Properties | |
override Mesh | SolidMesh [get] |
No solid mesh. | |
override Mesh | WireframeMesh [get] |
Irrelevant. | |
override string | Name [get] |
Handler name. | |
override ushort | RoutingID [get] |
ShapeID.Text3D |
Handles 3D text shapes.
Tes::Handlers::Shape3D::Text3DHandler::Text3DHandler | ( | Runtime.CategoryCheckDelegate | categoryCheck | ) | [inline] |
Create the shape handler.
categoryCheck |
override GameObject Tes::Handlers::Shape3D::Text3DHandler::CreateObject | ( | ) | [inline, protected, virtual] |
override Shapes.Shape Tes::Handlers::Shape3D::Text3DHandler::CreateSerialisationShape | ( | ShapeComponent | shapeComponent | ) | [inline, protected, virtual] |
Creates a text shape for serialisation.
shapeComponent | The component to create a shape for. |
Implements Tes::Handlers::ShapeHandler.
override void Tes::Handlers::Shape3D::Text3DHandler::EncodeAttributes | ( | ref ObjectAttributes | attr, |
GameObject | obj, | ||
ShapeComponent | comp | ||
) | [inline, protected, virtual] |
Encode transform attributes for text.
attr | |
obj | |
comp |
Reimplemented from Tes::Handlers::ShapeHandler.
override void Tes::Handlers::Shape3D::Text3DHandler::Initialise | ( | GameObject | root, |
GameObject | serverRoot, | ||
MaterialLibrary | materials | ||
) | [inline, virtual] |
Initialise the shape handler by initialising the shape scene root and fetching the default materials.
root | The 3rd Eye Scene root object. |
serverRoot | The server scene root (transformed into the server reference frame). |
materials | Material library from which to resolve materials. |
Reimplemented from Tes::Handlers::ShapeHandler.
override Error Tes::Handlers::Shape3D::Text3DHandler::PostHandleMessage | ( | GameObject | obj, |
UpdateMessage | msg, | ||
PacketBuffer | packet, | ||
BinaryReader | reader | ||
) | [inline, protected, virtual] |
Handle additional UpdateMessage data.
obj | |
msg | |
packet | |
reader |
Reimplemented from Tes::Handlers::ShapeHandler.
override Error Tes::Handlers::Shape3D::Text3DHandler::PostHandleMessage | ( | GameObject | obj, |
CreateMessage | msg, | ||
PacketBuffer | packet, | ||
BinaryReader | reader | ||
) | [inline, protected, virtual] |
Handle additional CreateMessage data.
obj | |
msg | |
packet | |
reader |
Reimplemented from Tes::Handlers::ShapeHandler.
override ushort Tes::Handlers::Shape3D::Text3DHandler::RoutingID [get] |
ShapeID.Text3D
Reimplemented from Tes::Runtime::MessageHandler.