Cocos Creator
手册文档
API 参考
Cocos Creator 3D
手册文档
API 参考
Cocos2d-x
手册文档
API 参考
AnySDK
Search
Preparing search index...
The search index is not available
Creator3dAPI
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
gemotryutils
OctreeBlock
Class OctreeBlock
Hierarchy
OctreeBlock
Index
Constructors
constructor
Properties
_get
Bounding
Shape
blocks
bounding
Box
capacity
depth
entries
max
Depth
max
Pos
min
Pos
Methods
add
Entry
frustum
Select
remove
Entry
select
Constructors
constructor
new
Octree
Block
(
minPos
:
any
, maxPos
:
any
, capacity
:
any
, depth
:
any
, maxDepth
:
any
, getBoundingShape
:
any
)
:
OctreeBlock
Parameters
minPos:
any
maxPos:
any
capacity:
any
depth:
any
maxDepth:
any
getBoundingShape:
any
Returns
OctreeBlock
Properties
Private
_get
Bounding
Shape
_get
Bounding
Shape
:
Function
blocks
blocks
:
null
|
OctreeBlock
[]
bounding
Box
bounding
Box
:
aabb
capacity
capacity
:
number
depth
depth
:
number
entries
entries
:
FixedArray
max
Depth
max
Depth
:
number
max
Pos
max
Pos
:
Vec3
min
Pos
min
Pos
:
Vec3
Methods
add
Entry
add
Entry
(
entry
:
any
)
:
void
Parameters
entry:
any
Returns
void
frustum
Select
frustum
Select
(
out
:
any
, frustum
:
any
)
:
void
Parameters
out:
any
frustum:
any
Returns
void
remove
Entry
remove
Entry
(
entry
:
any
)
:
void
Parameters
entry:
any
Returns
void
select
select
(
out
:
any
, shape
:
any
)
:
void
Parameters
out:
any
shape:
any
Returns
void
Globals
gemotry-
utils
Octree
Block
constructor
_get
Bounding
Shape
blocks
bounding
Box
capacity
depth
entries
max
Depth
max
Pos
min
Pos
add
Entry
frustum
Select
remove
Entry
select
Generated using
TypeDoc