Matrix4.CreateOrthographicOffCenter 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
CreateOrthographicOffCenter(Single, Single, Single, Single, Single, Single) | |
CreateOrthographicOffCenter(Single, Single, Single, Single, Single, Single, Matrix4) |
建立正視投影矩陣。 |
CreateOrthographicOffCenter(Single, Single, Single, Single, Single, Single)
public static OpenTK.Matrix4 CreateOrthographicOffCenter (float left, float right, float bottom, float top, float zNear, float zFar);
static member CreateOrthographicOffCenter : single * single * single * single * single * single -> OpenTK.Matrix4
參數
- left
- Single
- right
- Single
- bottom
- Single
- top
- Single
- zNear
- Single
- zFar
- Single
傳回
適用於
CreateOrthographicOffCenter(Single, Single, Single, Single, Single, Single, Matrix4)
建立正視投影矩陣。
public static void CreateOrthographicOffCenter (float left, float right, float bottom, float top, float zNear, float zFar, out OpenTK.Matrix4 result);
static member CreateOrthographicOffCenter : single * single * single * single * single * single * -> unit
參數
- left
- Single
投影磁片區的左邊緣。
- right
- Single
投影磁片區的右邊緣。
- bottom
- Single
投影磁片區的下邊緣。
- top
- Single
投影磁片區的上邊緣。
- zNear
- Single
投影磁片區的近邊緣。
- zFar
- Single
投影磁片區的遠邊緣。
- result
- Matrix4
產生的 Matrix4 實例。