Preparing search index...
The search index is not available
API
API
SpriteMarker
Class SpriteMarker
精灵标记对象
Hierarchy
Sprite
SpriteMarker
Index
Constructors
constructor
Properties
app
height
options
width
Methods
dispatch
Render
Texture
Event
dispose
get
Bounding
Rect
refresh
Render
Texture
set
Allow
Overlap
set
Material
update
Anchor
update
Render
Texture
update
Scale
Constructors
constructor
new
Sprite
Marker
(
options
,
app
?
)
:
SpriteMarker
Parameters
options
:
SpriteMarkerOptions
Optional
app
:
App
Returns
SpriteMarker
Properties
app
app
:
App
height
height
:
number
options
options
:
SpriteMarkerOptions
width
width
:
number
Methods
dispatch
Render
Texture
Event
dispatch
Render
Texture
Event
(
eventName
,
x
?
,
y
?
)
:
void
Parameters
eventName
:
"click"
|
"dblclick"
|
"mousewheel"
|
"mouseout"
|
"mouseup"
|
"mousedown"
|
"mousemove"
|
"contextmenu"
Optional
x
:
number
|
Vector2
Optional
y
:
number
Returns
void
dispose
dispose
(
)
:
void
Returns
void
get
Bounding
Rect
get
Bounding
Rect
(
)
:
{
cx
:
number
;
cy
:
number
;
groupName
:
string
;
id
:
string
;
position
:
Vector3
;
rotation
:
number
;
setVisible
:
(
(
visible
)
=>
any
)
;
x1
:
number
;
x2
:
any
;
y1
:
number
;
y2
:
any
;
zIndex
:
number
;
}
Returns
{
cx
:
number
;
cy
:
number
;
groupName
:
string
;
id
:
string
;
position
:
Vector3
;
rotation
:
number
;
setVisible
:
(
(
visible
)
=>
any
)
;
x1
:
number
;
x2
:
any
;
y1
:
number
;
y2
:
any
;
zIndex
:
number
;
}
cx
:
number
cy
:
number
group
Name
:
string
id
:
string
position
:
Vector3
rotation
:
number
set
Visible
:
(
(
visible
)
=>
any
)
(
visible
)
:
any
Parameters
visible
:
any
Returns
any
x1
:
number
x2
:
any
y1
:
number
y2
:
any
z
Index
:
number
refresh
Render
Texture
refresh
Render
Texture
(
)
:
void
Returns
void
set
Allow
Overlap
set
Allow
Overlap
(
allowOverlap
)
:
void
Parameters
allowOverlap
:
boolean
Returns
void
set
Material
set
Material
(
material
)
:
void
Parameters
material
:
SpriteMaterial
Returns
void
update
Anchor
update
Anchor
(
)
:
void
Returns
void
update
Render
Texture
update
Render
Texture
(
cb
)
:
void
Parameters
cb
:
(
(
context
)
=>
boolean
)
(
context
)
:
boolean
Parameters
context
:
{
canvas
:
HTMLCanvasElement
;
group
:
Group
;
render
:
Render2dType
;
}
canvas
:
HTMLCanvasElement
group
:
Group
render
:
Render2dType
Returns
boolean
Returns
void
update
Scale
update
Scale
(
)
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
constructor
app
height
options
width
dispatch
Render
Texture
Event
dispose
get
Bounding
Rect
refresh
Render
Texture
set
Allow
Overlap
set
Material
update
Anchor
update
Render
Texture
update
Scale
API
AlgorithmPluginType
CANNON
Tiles3dPluginType
default
reactivity
render2d
BehaviorStatus
BlendFunction
EdgeDetectionMode
EffectAttribute
EmitterMode
GlitchMode
KernelSize
MapOpenWay
NodeType
NodeValueType
OrderIndex
ParallelBehaviorPolicy
PredicationMode
RayQueryType
RenderMode
Loading...
精灵标记对象