Module editor_spatial_gizmo

Procs

proc addLines(self: EditorSpatialGizmo; lines: PoolVector3Array; material: Material;
             billboard: bool = false) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addMesh(self: EditorSpatialGizmo; mesh: ArrayMesh; billboard: bool = false;
            skeleton: RID = initRID()) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addCollisionSegments(self: EditorSpatialGizmo; segments: PoolVector3Array) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addCollisionTriangles(self: EditorSpatialGizmo; triangles: TriangleMesh;
                          bounds: AABB) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addUnscaledBillboard(self: EditorSpatialGizmo; material: Material;
                         defaultScale: float64 = 1.0) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addHandles(self: EditorSpatialGizmo; handles: PoolVector3Array;
               billboard: bool = false; secondary: bool = false) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setSpatialNode(self: EditorSpatialGizmo; node: Object) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc clear(self: EditorSpatialGizmo) {.
gcsafe, locks: 0, raises: [], tags: []
.}

Methods

method redraw(self: EditorSpatialGizmo) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method getHandleName(self: EditorSpatialGizmo; index: int64): string {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method getHandleValue(self: EditorSpatialGizmo; index: int64): Variant {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method setHandle(self: EditorSpatialGizmo; index: int64; camera: Camera; point: Vector2) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method commitHandle(self: EditorSpatialGizmo; index: int64; restore: Variant;
                   cancel: bool) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}