|
|
void | ConfigureHandle (xiiGizmo *pOwner, xiiEngineGizmoHandleType type, const xiiColor &color, xiiBitflags< xiiGizmoFlags > flags, const char *szCustomMesh=nullptr) |
|
void | SetColor (const xiiColor &color) |
|
bool | IsAlwaysOnTop () const |
|
xiiUInt32 | GetPickingID () const |
| bool | SetupForEngine (xiiWorld *pWorld, xiiUInt32 uiNextComponentPickingID) override |
| | Reserves an identity once, including for initially non-pickable handles whose flags can change via IPC.
|
| void | UpdateForEngine (xiiWorld *pWorld) override |
| | Invalidates CPU geometry after an IPC update. No world access or allocation is needed here.
|
| xiiResult | ComputeViewTransform (const xiiView &view, xiiMat4 &out_transform, float &out_fWorldUnitsPerPixel) const |
|
xiiResult | Draw (const xiiView &view, xiiUInt32 uiHighlightID) |
| | Hidden/excluded handles emit nothing successfully. Invalid geometry/settings report failure.
|
| xiiResult | PickRay (const xiiView &view, const xiiVec3 &vStart, const xiiVec3 &vDirection, float &out_fRayTime) |
| Public Member Functions inherited from xiiGizmoHandle |
|
void | SetVisible (bool bVisible) |
|
bool | IsVisible () const |
|
void | SetTransformation (const xiiTransform &transform) |
|
void | SetTransformation (const xiiMat4 &transform) |
|
const xiiTransform & | GetTransformation () const |
|
xiiGizmo * | GetOwnerGizmo () const |
|
void | Configure (xiiUuid ownerGuid, xiiDelegate< void(xiiEditorEngineSyncObject *)> onDestruction) |
|
xiiUuid | GetDocumentGuid () const |
|
void | SetModified (bool b=true) |
|
bool | GetModified () const |
|
xiiUuid | GetGuid () const |
|
virtual const xiiRTTI * | GetDynamicRTTI () const |
| bool | IsInstanceOf (const xiiRTTI *pType) const |
| | Returns whether the type of this instance is of the given type or derived from it.
|
|
template<typename T> |
| XII_ALWAYS_INLINE bool | IsInstanceOf () const |
| | Returns whether the type of this instance is of the given type or derived from it.
|
A synchronized Editor handle, drawn through GraphicsCore debug batches and picked against the same CPU geometry and view transform. Owns no world objects, components, materials, or GPU resources. Access and global scale changes require exclusive Editor/engine-process access, as with other sync objects.