Matrix4f.LoadPerspective(Single, Single, Single, Single) 方法

定义

将当前值设置为透视投影矩阵

[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

参数

fovy
Single

以度为单位的垂直视图角度字段

aspect
Single

屏幕纵横比

near
Single

接近剪裁平面,必须为正

far
Single

远剪平面,必须为正

属性

注解

将当前值设置为透视投影矩阵

Java文档android.renderscript.Matrix4f.loadPerspective(float, float, float, float)

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于