Share via


Matrix4f.LoadPerspective(Single, Single, Single, Single) Method

Definition

Sets current values to be a perspective projection matrix

[Android.Runtime.Register("loadPerspective", "(FFFF)V", "GetLoadPerspective_FFFFHandler")]
public virtual void LoadPerspective (float fovy, float aspect, float near, float far);
[<Android.Runtime.Register("loadPerspective", "(FFFF)V", "GetLoadPerspective_FFFFHandler")>]
abstract member LoadPerspective : single * single * single * single -> unit
override this.LoadPerspective : single * single * single * single -> unit

Parameters

fovy
Single

vertical field of view angle in degrees

aspect
Single

aspect ratio of the screen

near
Single

near cliping plane, must be positive

far
Single

far clipping plane, must be positive

Attributes

Remarks

Sets current values to be a perspective projection matrix

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