setCameraFocus
setCameraFocus(
camera,point):void
Says which point camera looks at, in the world: what the look’s fog
starts back from and the sun’s near cascade centres on. Camera2D and
the follow camera name theirs; a game’s own rig names its point as it
moves, and null when it looks at nothing in particular, as a free
camera does, or stops.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
camera |
Camera |
point |
Vector3 | null |
Returns
Section titled “Returns”void