Cocos Creator
手册文档
API 参考
Cocos Creator 3D
手册文档
API 参考
Cocos2d-x
手册文档
API 参考
Version: 3.1
Version: 3.5
Version: 3.4
Version: 3.3
Version: 3.2
Version: 3.0
Version: 2.4
Version: 2.3
Version: 2.2
Version: 2.1
Version: 2.0
Version: 1.10
Version: 1.9
Search
Preparing search index...
The search index is not available
CocosCreatorAPI
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
physics2d
box2d
PhysicsAABBQueryCallback
Class PhysicsAABBQueryCallback
Hierarchy
b2QueryCallback
PhysicsAABBQueryCallback
Index
Properties
_fixtures
_is
Point
_point
Methods
Report
Fixture
Report
Particle
Should
Query
Particle
System
get
Fixture
get
Fixtures
init
Properties
_fixtures
_fixtures
:
b2.Fixture
[]
= []
_is
Point
_is
Point
:
boolean
= false
_point
_point
:
b2Vec2
= new b2.Vec2()
Methods
Report
Fixture
Report
Fixture
(
fixture
:
b2.Fixture
)
:
boolean
Parameters
fixture:
b2.Fixture
Returns
boolean
Report
Particle
Report
Particle
(
system
:
b2ParticleSystem
, index
:
number
)
:
boolean
Parameters
system:
b2ParticleSystem
index:
number
Returns
boolean
Should
Query
Particle
System
Should
Query
Particle
System
(
system
:
b2ParticleSystem
)
:
boolean
Parameters
system:
b2ParticleSystem
Returns
boolean
get
Fixture
get
Fixture
(
)
:
b2Fixture
Returns
b2Fixture
get
Fixtures
get
Fixtures
(
)
:
b2Fixture
[]
Returns
b2Fixture
[]
init
init
(
point
?:
Vec2
)
:
void
Parameters
Optional
point:
Vec2
Returns
void
Globals
physics2d
box2d
Manifold
Point
PhysicsAABBQuery
Callback
_fixtures
_is
Point
_point
Report
Fixture
Report
Particle
Should
Query
Particle
System
get
Fixture
get
Fixtures
init
Physics
Contact
Physics
Contact
Listener
Physics
Debug
Draw
Physics
Ray
Cast
Callback
b2
Distance
Joint
b2
Fixed
Joint
b2
Hinge
Joint
b2
Joint
b2
Mouse
Joint
b2
Physics
World
b2
Relative
Joint
b2
Rigid
Body2D
b2
Slider
Joint
b2
Spring
Joint
b2
Wheel
Joint
b2
Contact
Extends
GREEN_
COLOR
RED_
COLOR
_tmp_
color
_tmp_
vec2
b2worldmanifold
manifold
Point
Cache
point
Cache
pools
temo
Body
Def
temp
B2AABB
temp
B2Vec2
temp
Vec2_
1
temp
Vec2_
1
temp
Vec2_
2
temp
Vec3
temp
Vec3
test
Results
impulse
manifold
worldmanifold
Generated using
TypeDoc