3rd Eye Scene C#
3rd Eye Scene C# documentation
|
A minimalist MonoBehaviour used to track information about objects generated by Tes shape handlers. More...
Public Member Functions | |
bool | TestFlag (ObjectFlag flag) |
Test flag in ObjectFlags. | |
void | AddFlag (ObjectFlag flag) |
Set flag in ObjectFlags. | |
void | ClearFlag (ObjectFlag flag) |
Clear flag in ObjectFlags. | |
void | SetFlag (ObjectFlag flag, bool set) |
Set or clear flag in ObjectFlags. | |
Static Public Member Functions | |
static Color32 | ConvertColour (uint colour) |
Translates a 3es colour to a native, Unity colour. | |
static uint | ConvertColour (Color32 colour) |
Translates a Unity colour to a 3es colour value. | |
Properties | |
uint | ObjectID [get, set] |
Object ID, unique in its shape handler. | |
ushort | Category [get, set] |
Object's filtering category. | |
ushort | ObjectFlags [get, set] |
ObjectFlag | |
Color32 | Colour [get, set] |
Object colour. | |
int | ExtendedValue [get, set] |
An extension value which can be used contextually by various shape types. | |
bool | Dirty [get, set] |
May be used to flag a dirty status. | |
bool | IsTransient [get] |
Is this a transient object (zero ObjectID). | |
bool | Wireframe [get, set] |
Is ObjectFlag.Wireframe set? | |
bool | Transparent [get, set] |
Is ObjectFlag.Transparent set? | |
bool | TwoSided [get, set] |
Is ObjectFlag.TwoSided set? |
A minimalist MonoBehaviour used to track information about objects generated by Tes shape handlers.
For example, tracks wireframe/solid state.
void Tes::Handlers::ShapeComponent::AddFlag | ( | ObjectFlag | flag | ) | [inline] |
Set flag in ObjectFlags.
flag | The flag to set. |
void Tes::Handlers::ShapeComponent::ClearFlag | ( | ObjectFlag | flag | ) | [inline] |
Clear flag in ObjectFlags.
flag | The flag to clear. |
static Color32 Tes::Handlers::ShapeComponent::ConvertColour | ( | uint | colour | ) | [inline, static] |
Translates a 3es colour to a native, Unity colour.
colour | The 3es colour to translate. |
static uint Tes::Handlers::ShapeComponent::ConvertColour | ( | Color32 | colour | ) | [inline, static] |
Translates a Unity colour to a 3es colour value.
colour | The Unity colour to translate. |
void Tes::Handlers::ShapeComponent::SetFlag | ( | ObjectFlag | flag, |
bool | set | ||
) | [inline] |
Set or clear flag in ObjectFlags.
flag | The flag to set or clear. |
set | True to set, false to clear. |
bool Tes::Handlers::ShapeComponent::TestFlag | ( | ObjectFlag | flag | ) | [inline] |
bool Tes::Handlers::ShapeComponent::Dirty [get, set] |
May be used to flag a dirty status.
Specific to the owning shape handler.
ushort Tes::Handlers::ShapeComponent::ObjectFlags [get, set] |
ObjectFlag
uint Tes::Handlers::ShapeComponent::ObjectID [get, set] |
Object ID, unique in its shape handler.
Zero for transient objects.
bool Tes::Handlers::ShapeComponent::Transparent [get, set] |
Is ObjectFlag.Transparent set?
bool Tes::Handlers::ShapeComponent::TwoSided [get, set] |
Is ObjectFlag.TwoSided set?
bool Tes::Handlers::ShapeComponent::Wireframe [get, set] |
Is ObjectFlag.Wireframe set?