Sdílet prostřednictvím


Matrix4f.LoadOrthoWindow(Int32, Int32) Method

Definition

Set current values to be an orthographic projection matrix with the right and bottom clipping planes set to the given values.

[Android.Runtime.Register("loadOrthoWindow", "(II)V", "GetLoadOrthoWindow_IIHandler")]
public virtual void LoadOrthoWindow (int w, int h);
[<Android.Runtime.Register("loadOrthoWindow", "(II)V", "GetLoadOrthoWindow_IIHandler")>]
abstract member LoadOrthoWindow : int * int -> unit
override this.LoadOrthoWindow : int * int -> unit

Parameters

w
Int32

location of the right vertical clipping plane

h
Int32

location of the bottom horizontal clipping plane

Attributes

Remarks

Set current values to be an orthographic projection matrix with the right and bottom clipping planes set to the given values. Left and top clipping planes are set to 0. Near and far are set to -1, 1 respectively

Java documentation for android.renderscript.Matrix4f.loadOrthoWindow(int, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to