Search
Preparing search index...
The search index is not available
CocosCreatorAPI
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
collision
b2TreeNode
Class b2TreeNode<T>
Type parameters
T
Hierarchy
b2TreeNode
Index
Constructors
constructor
Properties
_user
Data
aabb
child1
child2
height
m_
id
parent
Accessors
user
Data
Methods
Is
Leaf
Reset
Constructors
constructor
newb2
Tree
Node
(
id
?:
number
)
:
b2TreeNode
Parameters
Default value
id:
number
= 0
Returns
b2TreeNode
Properties
Private
_user
Data
_user
Data
:
T
|
null
= null
Readonly
aabb
aabb
:
b2AABB
= new b2AABB()
child1
child1
:
b2TreeNode
<
T
>
|
null
= null
child2
child2
:
b2TreeNode
<
T
>
|
null
= null
height
height
:
number
= 0
Readonly
m_
id
m_
id
:
number
= 0
parent
parent
:
b2TreeNode
<
T
>
|
null
= null
Accessors
user
Data
get
userData
(
)
:
T
set
userData
(
value
:
T
)
:
void
Returns
T
Parameters
value:
T
Returns
void
Methods
Is
Leaf
Is
Leaf
(
)
:
boolean
Returns
boolean
Reset
Reset
(
)
:
void
Returns
void
Globals
node_
modules\@cocos\box2d\src\collision
b2
Tree
Node
constructor
_user
Data
aabb
child1
child2
height
m_
id
parent
user
Data
Is
Leaf
Reset
Generated using
TypeDoc