CameraType
Describes the camera behavior mode if using the default PlayerScripts.
Items 8
History | Name | Value | Description | |
---|---|---|---|---|
47 | Fixed | 0 | Camera is stationary. | |
598 | Attach | 1 | Camera moves with the subject at a fixed offset and will rotate as the subject rotates. | |
598 | Watch | 2 | Camera is stationary but will rotate to keep the subject in the center of the screen. | |
47 | Track | 3 | Camera moves with the subject but does not rotate automatically. | |
47 | Follow | 4 | Camera moves with the subject and rotates to keep the subject in the center. | |
47 | Custom | 5 | Default mode used by Roblox core scripts. | |
47 | Scriptable | 6 | No default behavior. Used when developers need to script custom behavior. | |
297 | Orbital | 7 | The camera has a fixed Y position, but can be rotated around the player. |
Description
The CameraType Enum is used in Camera.CameraType to set the behavior of the Camera object.
Attach, Watch, Track, and Follow all require a valid Camera.CameraSubject to work properly.