Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:17.3.0

Description

Description:Overrides the focus / depth of field on all cameras.

Syntax

Syntax:setCamFocus [focusRange, blur]
Parameters:
  • focusRange: Number - Focal distance to use.
  • blur: Number - Level of blur to apply (0 = no blur, 1 = regular blur, > 1 = more intense blur).
Return Value:Nothing

Examples

Examples:
setCamFocus [100, 1.5];

Additional Information

See also: camSetFocus
Multiplayer:
Problems:

Notes