共用方式為


Matrix4f.LoadOrtho(Single, Single, Single, Single, Single, Single) Method

Definition

Set current values to be an orthographic projection matrix

[Android.Runtime.Register("loadOrtho", "(FFFFFF)V", "GetLoadOrtho_FFFFFFHandler")]
public virtual void LoadOrtho (float l, float r, float b, float t, float n, float f);
[<Android.Runtime.Register("loadOrtho", "(FFFFFF)V", "GetLoadOrtho_FFFFFFHandler")>]
abstract member LoadOrtho : single * single * single * single * single * single -> unit
override this.LoadOrtho : single * single * single * single * single * single -> unit

Parameters

l
Single

location of the left vertical clipping plane

r
Single

location of the right vertical clipping plane

b
Single

location of the bottom horizontal clipping plane

t
Single

location of the top horizontal clipping plane

n
Single

location of the near clipping plane

f
Single

location of the far clipping plane

Attributes

Remarks

Set current values to be an orthographic projection matrix

Java documentation for android.renderscript.Matrix4f.loadOrtho(float, float, float, float, float, float).

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