geomUtils.Frustum
类型
模块: cc
平截头体
索引
属性(properties)
accurate
boolean
Set whether to use accurate intersection testing function on this frustumplanes
Plane[]
planes
Vec3[]
方法
create
create a new frustumclone
Clone a frustumcopy
Copy the values from one frustum to anotherupdate
transform
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
Frustumf
Frustum
update
meta | description |
---|---|
定义于 | cocos2d/core/geom-utils/frustum.ts:150 |
参数列表
transform
meta | description |
---|---|
定义于 | cocos2d/core/geom-utils/frustum.ts:198 |
参数列表
mat
Mat4