Module spatial

Consts

NOTIFICATION_TRANSFORM_CHANGED = 29'i64
NOTIFICATION_ENTER_WORLD = 41'i64
NOTIFICATION_EXIT_WORLD = 42'i64
NOTIFICATION_VISIBILITY_CHANGED = 43'i64

Procs

proc transform(self: Spatial): Transform {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc transform=(self: Spatial; val: Transform) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc globalTransform(self: Spatial): Transform {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc globalTransform=(self: Spatial; val: Transform) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc translation(self: Spatial): Vector3 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc translation=(self: Spatial; val: Vector3) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc rotationDegrees(self: Spatial): Vector3 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc rotationDegrees=(self: Spatial; val: Vector3) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc rotation(self: Spatial): Vector3 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc rotation=(self: Spatial; val: Vector3) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc scale(self: Spatial): Vector3 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc scale=(self: Spatial; val: Vector3) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc visible(self: Spatial): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc visible=(self: Spatial; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc gizmo(self: Spatial): SpatialGizmo {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc gizmo=(self: Spatial; val: SpatialGizmo) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getParentSpatial(self: Spatial): Spatial {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc setIgnoreTransformNotification(self: Spatial; enabled: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setAsToplevel(self: Spatial; enable: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc isSetAsToplevel(self: Spatial): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getWorld(self: Spatial): World {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc updateGizmoImpl(self: Spatial) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc isVisibleInTree(self: Spatial): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc show(self: Spatial) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc hide(self: Spatial) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setNotifyLocalTransform(self: Spatial; enable: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc isLocalTransformNotificationEnabled(self: Spatial): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setNotifyTransform(self: Spatial; enable: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc isTransformNotificationEnabled(self: Spatial): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc rotate(self: Spatial; axis: Vector3; angle: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc globalRotate(self: Spatial; axis: Vector3; angle: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc globalScale(self: Spatial; scale: Vector3) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc globalTranslate(self: Spatial; offset: Vector3) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc rotateObjectLocal(self: Spatial; axis: Vector3; angle: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc scaleObjectLocal(self: Spatial; scale: Vector3) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc translateObjectLocal(self: Spatial; offset: Vector3) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc rotateX(self: Spatial; angle: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc rotateY(self: Spatial; angle: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc rotateZ(self: Spatial; angle: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc translate(self: Spatial; offset: Vector3) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc orthonormalize(self: Spatial) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setIdentity(self: Spatial) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc lookAt(self: Spatial; target: Vector3; up: Vector3) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc lookAtFromPosition(self: Spatial; position: Vector3; target: Vector3; up: Vector3) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc toLocal(self: Spatial; globalPoint: Vector3): Vector3 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc toGlobal(self: Spatial; localPoint: Vector3): Vector3 {.
gcsafe, locks: 0, raises: [], tags: []
.}

Methods

method updateGizmo(self: Spatial) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}