Skip to content

Commit 22dc848

Browse files
authored
Update content/en-us/reference/engine/classes/Camera.yaml
1 parent 0ef1564 commit 22dc848

File tree

1 file changed

+8
-14
lines changed

1 file changed

+8
-14
lines changed

content/en-us/reference/engine/classes/Camera.yaml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -566,20 +566,14 @@ properties:
566566
`Class.Camera.FieldOfView` and `Class.Camera.DiagonalFieldOfView` properties are
567567
based on the fullscreen area, not `Class.Camera.ViewportSize|ViewportSize`.
568568
569-
Only one `Class.Camera` has its `Class.Camera.ViewportSize` updated each
570-
frame: the `Class.Camera` currently referred to by `Class.Workspace.
571-
CurrentCamera`. The `ViewportSize` of all other `Class.Camera`s in your
572-
experience won't be updated. This includes `Class.Camera`s that are used
573-
for `Class.ViewportFrame`s.
574-
575-
The initial value of `Class.Camera.ViewportSize` is `(1, 1)`. The `Class.
576-
Workspace.CurrentCamera`'s `Class.Camera.ViewportSize` is updated once
577-
each frame during the render prepare step.
578-
579-
For example, a `Class.ViewportFrame` with `Class.ViewportFrame.
580-
CurrentCamera` set to a different `Class.Camera` than the `Class.
581-
Workspace.CurrentCamera` will have its `ViewportSize` equal to the
582-
initial value of `(1, 1)`.
569+
##### Camera Updates
570+
571+
Only the `Class.Camera` currently referred to by `Class.Workspace.
572+
CurrentCamera` has its `Class.Camera.ViewportSize|ViewportSize` updated each
573+
frame during the `Class.RunService.PreRender|PreRender` step. The
574+
`Class.Camera.ViewportSize|ViewportSize` of all other cameras in your
575+
experience won't be updated, including those used for
576+
`Class.ViewportFrame|ViewportFrames`.
583577
code_samples:
584578
type: Vector2
585579
tags:

0 commit comments

Comments
 (0)