Preparing search index...
The search index is not available
API
API
IRectCollideModule
Interface IRectCollideModule
interface
IRectCollideModule
{
addCollideRectObject
:
(
(
item
)
=>
void
)
;
removeCollideRectObject
:
(
(
item
)
=>
void
)
;
setCollideRectDirty
:
(
(
)
=>
void
)
;
updateCollideRect
:
(
(
)
=>
void
)
;
}
Implemented by
App
Index
Properties
add
Collide
Rect
Object
remove
Collide
Rect
Object
set
Collide
Rect
Dirty
update
Collide
Rect
Properties
add
Collide
Rect
Object
add
Collide
Rect
Object
:
(
(
item
)
=>
void
)
增加碰撞检测的对象
Type declaration
(
item
)
:
void
增加碰撞检测的对象
Parameters
item
:
IRectCollide
Returns
void
remove
Collide
Rect
Object
remove
Collide
Rect
Object
:
(
(
item
)
=>
void
)
移除碰撞检测的对象
Type declaration
(
item
)
:
void
移除碰撞检测的对象
Parameters
item
:
IRectCollide
Returns
void
set
Collide
Rect
Dirty
set
Collide
Rect
Dirty
:
(
(
)
=>
void
)
设置更新碰撞检测为脏数据,使其重新检测
Type declaration
(
)
:
void
设置更新碰撞检测为脏数据,使其重新检测
Returns
void
update
Collide
Rect
update
Collide
Rect
:
(
(
)
=>
void
)
更新碰撞检测
Type declaration
(
)
:
void
更新碰撞检测
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
add
Collide
Rect
Object
remove
Collide
Rect
Object
set
Collide
Rect
Dirty
update
Collide
Rect
API
AlgorithmPluginType
CANNON
Tiles3dPluginType
default
reactivity
render2d
BehaviorStatus
BlendFunction
EdgeDetectionMode
EffectAttribute
EmitterMode
GlitchMode
KernelSize
MapOpenWay
NodeType
NodeValueType
OrderIndex
ParallelBehaviorPolicy
PredicationMode
RayQueryType
RenderMode
Loading...
增加碰撞检测的对象