Module camera

Consts

PROJECTION_PERSPECTIVE* = 0'i64
PROJECTION_ORTHOGONAL* = 1'i64
KEEP_WIDTH* = 0'i64
KEEP_HEIGHT* = 1'i64
DOPPLER_TRACKING_DISABLED* = 0'i64
DOPPLER_TRACKING_IDLE_STEP* = 1'i64
DOPPLER_TRACKING_FIXED_STEP* = 2'i64

Procs

proc projectRayNormal*(self: Camera; screenPoint: Vector2): Vector3 {.
gcsafe, locks: 0
.}
proc projectLocalRayNormal*(self: Camera; screenPoint: Vector2): Vector3 {.
gcsafe, locks: 0
.}
proc projectRayOrigin*(self: Camera; screenPoint: Vector2): Vector3 {.
gcsafe, locks: 0
.}
proc unprojectPosition*(self: Camera; worldPoint: Vector3): Vector2 {.
gcsafe, locks: 0
.}
proc isPositionBehind*(self: Camera; worldPoint: Vector3): bool {.
gcsafe, locks: 0
.}
proc projectPosition*(self: Camera; screenPoint: Vector2): Vector3 {.
gcsafe, locks: 0
.}
proc setPerspective*(self: Camera; fov: float64; zNear: float64; zFar: float64) {.
gcsafe, locks: 0
.}
proc setOrthogonal*(self: Camera; size: float64; zNear: float64; zFar: float64) {.
gcsafe, locks: 0
.}
proc makeCurrent*(self: Camera) {.
gcsafe, locks: 0
.}
proc clearCurrent*(self: Camera) {.
gcsafe, locks: 0
.}
proc isCurrent*(self: Camera): bool {.
gcsafe, locks: 0
.}
proc getCameraTransform*(self: Camera): Transform {.
gcsafe, locks: 0
.}
proc getFov*(self: Camera): float64 {.
gcsafe, locks: 0
.}
proc getSize*(self: Camera): float64 {.
gcsafe, locks: 0
.}
proc getZfar*(self: Camera): float64 {.
gcsafe, locks: 0
.}
proc getZnear*(self: Camera): float64 {.
gcsafe, locks: 0
.}
proc getProjection*(self: Camera): int64 {.
gcsafe, locks: 0
.}
proc setHOffset*(self: Camera; ofs: float64) {.
gcsafe, locks: 0
.}
proc getHOffset*(self: Camera): float64 {.
gcsafe, locks: 0
.}
proc setVOffset*(self: Camera; ofs: float64) {.
gcsafe, locks: 0
.}
proc getVOffset*(self: Camera): float64 {.
gcsafe, locks: 0
.}
proc setCullMask*(self: Camera; mask: int64) {.
gcsafe, locks: 0
.}
proc getCullMask*(self: Camera): int64 {.
gcsafe, locks: 0
.}
proc setEnvironment*(self: Camera; env: Environment) {.
gcsafe, locks: 0
.}
proc getEnvironment*(self: Camera): Environment {.
gcsafe, locks: 0
.}
proc setKeepAspectMode*(self: Camera; mode: int64) {.
gcsafe, locks: 0
.}
proc getKeepAspectMode*(self: Camera): int64 {.
gcsafe, locks: 0
.}
proc setDopplerTracking*(self: Camera; mode: int64) {.
gcsafe, locks: 0
.}
proc getDopplerTracking*(self: Camera): int64 {.
gcsafe, locks: 0
.}