SetCameraLocation

From Onset Developer Wiki
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