File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
content/en-us/reference/engine/classes Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -33,13 +33,14 @@ description: |
3333 information on how to adjust and customize the camera's behavior.
3434
3535
36- Warning:
37- It should also be noted that when changing `Workspace.CurrentCamera` to a new `Camera`
38- and there is more than a single `Camera` present in the top-hierarchy of `Workspace`
39- then all other unused `Camera` objects shall be parented to `nil` but not `Destroy()`d.
40-
41- If you require a `Camera` to stay around, it is recommended to parent it inside a `Model` or object other than directly under `Workspace`.
36+ #### Storing Multiple Cameras
4237
38+ Note that when changing `Class.Workspace.CurrentCamera` to a new `Class.Camera`,
39+ all other `Class.Camera|Cameras` directly descending from `Class.Workspace` will be
40+ destroyed. If you need to store multiple cameras and swap between them on demand,
41+ it's recommended that you store them in a `Class.Folder` or `Class.Model` under
42+ `Class.Workspace`, inside which they will remain even when
43+ `Class.Workspace.CurrentCamera|CurrentCamera` is changed.
4344code_samples :
4445inherits :
4546 - PVInstance
You can’t perform that action at this time.
0 commit comments