UnityEngine.CameraType

unity中的默認相機類型有幾個呢?

#region 程序集 UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// D:\Program Files\Unity2018.3.0f2\Unity\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll
#endregion

using System;

namespace UnityEngine
{
    //
    // 摘要:
    //     Describes different types of camera.
    [Flags]
    public enum CameraType
    {
        //
        // 摘要:
        //     Used to indicate a regular in-game camera.
        Game = 1,
        //
        // 摘要:
        //     Used to indicate that a camera is used for rendering the Scene View in the Editor.
        SceneView = 2,
        //
        // 摘要:
        //     Used to indicate a camera that is used for rendering previews in the Editor.
        Preview = 4,
        //
        // 摘要:
        //     Used to indicate that a camera is used for rendering VR (in edit mode) in the
        //     Editor.
        VR = 8,
        //
        // 摘要:
        //     Used to indicate a camera that is used for rendering reflection probes.
        Reflection = 16
    }
}
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章