CameraType (Enum): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
m added that Scriptable doesnt exist until 2012M |
Added that Custom doesnt exist until 2007M |
||
Line 5: | Line 5: | ||
{{Enum/row|3|Track|Camera watches and follows, but does not rotate with subject.}} | {{Enum/row|3|Track|Camera watches and follows, but does not rotate with subject.}} | ||
{{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. <b>Does not exist until 2007M.</b>}} | ||
{{Enum/row|6|Scriptable|Allows for easy control of the camera from scripts. <b>Does not exist until 2012M.</b>}} | {{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> |
Latest revision as of 19:33, 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. Does not exist until 2007M. |
6 | Scriptable | Allows for easy control of the camera from scripts. Does not exist until 2012M. |