geomUtils.Frustum 类型
平截头体
索引
属性(properties)
accuratebooleanSet whether to use accurate intersection testing function on this frustumplanesPlane[]planesVec3[]
方法
createcreate a new frustumcloneClone a frustumcopyCopy the values from one frustum to anotherupdatetransform
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 |
参数列表
fFrustum
copy
Copy the values from one frustum to another
| meta | description |
|---|---|
| 返回 | Frustum |
| 定义于 | cocos2d/core/geom-utils/frustum.ts:110 |
参数列表
outFrustumfFrustum
update
| meta | description |
|---|---|
| 定义于 | cocos2d/core/geom-utils/frustum.ts:150 |
参数列表
transform
| meta | description |
|---|---|
| 定义于 | cocos2d/core/geom-utils/frustum.ts:198 |
参数列表
matMat4