File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
content/en-us/reference/engine/classes Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -1193,12 +1193,11 @@ methods:
11931193 position in core UI coordinates, please use
11941194 `Class.Camera:ScreenPointToRay()`.
11951195
1196- This function only works for the current Workspace camera. Other cameras,
1197- such as those you create for a `Class.ViewportFrame`, have an initial
1196+ Also note that this function only works for the `Class. Workspace.CurrentCamera` camera.
1197+ Other cameras, such as those you create for a `Class.ViewportFrame`, have an initial
11981198 viewport size of `(1, 1)` and are only updated after you set them to
1199- `Class.Workspace.CurrentCamera`. The mismatch in viewport size causes the
1200- camera to return a ray with an incorrect `Datatype.Ray.Direction`.
1201-
1199+ `Class.Workspace.CurrentCamera|CurrentCamera`. The mismatch in viewport size causes
1200+ the camera to return a ray with an incorrect `Datatype.Ray.Direction`.
12021201 This function can be used in conjunction with the
12031202 `Class.Camera.ViewportSize` property to create a ray from the centre of
12041203 the screen, for example:
You can’t perform that action at this time.
0 commit comments