geomUtils.Frustum 类型

模块: cc 父模块: cc

平截头体

索引

属性(properties)
  • accurate boolean Set whether to use accurate intersection testing function on this frustum
  • planes Plane[]
  • planes Vec3[]
方法

Details

属性(properties)

accurate

Set whether to use accurate intersection testing function on this frustum

meta description
类型 boolean
定义于 cocos2d/core/geom-utils/frustum.ts:50
planes
meta description
类型 Plane
定义于 cocos2d/core/geom-utils/frustum.ts:128
planes
meta description
类型 Vec3[]
定义于 cocos2d/core/geom-utils/frustum.ts:132

方法

create

create a new frustum

meta description
返回 Frustum
定义于 cocos2d/core/geom-utils/frustum.ts:89
clone

Clone a frustum

meta description
返回 Frustum
定义于 cocos2d/core/geom-utils/frustum.ts:99
参数列表
  • f Frustum
copy

Copy the values from one frustum to another

meta description
返回 Frustum
定义于 cocos2d/core/geom-utils/frustum.ts:110
参数列表
  • out Frustum
  • f Frustum
update
meta description
定义于 cocos2d/core/geom-utils/frustum.ts:150
参数列表
  • m Mat4 the view-projection matrix
  • inv Mat4 the inverse view-projection matrix
transform
meta description
定义于 cocos2d/core/geom-utils/frustum.ts:198
参数列表

results matching ""

    No results matching ""