コード例 #1
0
ファイル: GfCamera.cs プロジェクト: mwikenma/usd-unity-sdk
        public float GetFieldOfView(GfCamera.FOVDirection direction)
        {
            float ret = UsdCsPINVOKE.GfCamera_GetFieldOfView(swigCPtr, (int)direction);

            return(ret);
        }
コード例 #2
0
ファイル: GfCamera.cs プロジェクト: mwikenma/usd-unity-sdk
 public void SetPerspectiveFromAspectRatioAndFieldOfView(float aspectRatio, float fieldOfView, GfCamera.FOVDirection direction)
 {
     UsdCsPINVOKE.GfCamera_SetPerspectiveFromAspectRatioAndFieldOfView__SWIG_1(swigCPtr, aspectRatio, fieldOfView, (int)direction);
 }
コード例 #3
0
ファイル: GfCamera.cs プロジェクト: mwikenma/usd-unity-sdk
 public void SetOrthographicFromAspectRatioAndSize(float aspectRatio, float orthographicSize, GfCamera.FOVDirection direction)
 {
     UsdCsPINVOKE.GfCamera_SetOrthographicFromAspectRatioAndSize(swigCPtr, aspectRatio, orthographicSize, (int)direction);
 }
コード例 #4
0
ファイル: GfCamera.cs プロジェクト: mwikenma/usd-unity-sdk
 public void SetPerspectiveFromAspectRatioAndFieldOfView(float aspectRatio, float fieldOfView, GfCamera.FOVDirection direction, float horizontalAperture)
 {
     UsdCsPINVOKE.GfCamera_SetPerspectiveFromAspectRatioAndFieldOfView__SWIG_0(swigCPtr, aspectRatio, fieldOfView, (int)direction, horizontalAperture);
 }