共用方式為


Matrix4f.LoadProjectionNormalized(Int32, Int32) Method

Definition

Helper function to set the current values to a perspective projection matrix with aspect ratio defined by the parameters and (near, far), (bottom, top) mapping to (-1, 1) at z = 0

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

Parameters

w
Int32

screen width

h
Int32

screen height

Attributes

Remarks

Helper function to set the current values to a perspective projection matrix with aspect ratio defined by the parameters and (near, far), (bottom, top) mapping to (-1, 1) at z = 0

Java documentation for android.renderscript.Matrix4f.loadProjectionNormalized(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