CameraType列挙型(Enum)
列挙型(Enum)日本語解説は準備中
ひとことで言うと
CameraTypeは、ロブロックス(Roblox)の列挙型(Enum)です。くわしい日本語解説は準備中のため、下に公式の説明(英語)を載せています。
公式の説明(英語):Describes the camera behavior mode if using the default PlayerScripts.
選べる値(8)
| 名前 | 値 | 説明 |
|---|---|---|
Enum.CameraType.Fixed | 0 | Camera is stationary. |
Enum.CameraType.Attach | 1 | Camera moves with the subject at a fixed offset and will rotate as the subject rotates. |
Enum.CameraType.Watch | 2 | Camera is stationary but will rotate to keep the subject in the center of the screen. |
Enum.CameraType.Track | 3 | Camera moves with the subject but does not rotate automatically. |
Enum.CameraType.Follow | 4 | Camera moves with the subject and rotates to keep the subject in the center. |
Enum.CameraType.Custom | 5 | Default mode used by Roblox core scripts. |
Enum.CameraType.Scriptable | 6 | No default behavior. Used when developers need to script custom behavior. |
Enum.CameraType.Orbital | 7 | The camera has a fixed Y position, but can be rotated around the player. |
英語の説明とメンバーの一覧は、Roblox Creator Documentation(CameraType)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。