SetCameraLocation

From Onset Developer Wiki
Revision as of 20:19, 18 December 2019 by 28days (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
SetCameraLocation

Type: Function
Context: Client
Introduced: v1.0

Description

Set the camera location.

Syntax

SetCameraLocation(x, y, z [, bWorldSpace])

Parameters

  • x
    The X axis
  • y
    The Y axis
  • z
    The Z axis
  • bWorldSpace (optional)
    true for world space, false for relative location.

Return Value

  • Returns true on success.

Example

SetCameraLocation(0.0, 0.0, 0.0, true)

See also