CameraType (Enum): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Legend26
No edit summary
m (added that Scriptable doesnt exist until 2012M)
Line 6: Line 6:
{{Enum/row|4|Follow|Camera watches, follows, and rotates with subject.}}
{{Enum/row|4|Follow|Camera watches, follows, and rotates with subject.}}
{{Enum/row|5|Custom|Customized configuration; behavior subject to change.}}
{{Enum/row|5|Custom|Customized configuration; behavior subject to change.}}
{{Enum/row|6|Scriptable|Allows for easy control of the camera from scripts.}}
{{Enum/row|6|Scriptable|Allows for easy control of the camera from scripts. <b>Does not exist until 2012M.</b>}}
}}<noinclude>
}}<noinclude>
[[Category:Enums]]</noinclude>
[[Category:Enums]]</noinclude>

Revision as of 15:32, 6 March 2024

The CameraType Enum changes the CameraType property and is used to set the behavior of the Camera object. It has 6 numbers:
Enum Name Description
0 Fixed Camera does not watch, follow, or rotate with subject.
1 Attach Camera follows subject and is forced behind it.
2 Watch Camera watches, but does not follow or rotate with subject.
3 Track Camera watches and follows, but does not rotate with subject.
4 Follow Camera watches, follows, and rotates with subject.
5 Custom Customized configuration; behavior subject to change.
6 Scriptable Allows for easy control of the camera from scripts. Does not exist until 2012M.