ViewportCamera
A Camera that replicates and is saved as authored content, for use with ViewportFrames or as a ThumbnailCamera.
| Memory category | Instances |
|---|
Member index 0
Description
ViewportCamera is a Camera intended for cameras that you set up at
design time, such as a camera assigned to ViewportFrame.CurrentCamera
or a ThumbnailCamera inside a Model. It has the same properties,
methods, and events as Camera, but unlike Camera it
replicates, so it works as expected in Team Create and when replicated from
the server to clients.
Use a Camera for the camera that renders the 3D world, accessible
through Workspace.CurrentCamera. Use a ViewportCamera for any other
camera that you author and want saved with the place.
Autoupgrade Behavior
When you paste copied content containing a Camera in Studio, any
Camera is automatically converted into a ViewportCamera with the
same properties. This is to facilitate the common workflow of setting up a
camera by positioning the main workspace camera and then copy-pasting that
camera.
History 1
- 734 Add ViewportCamera