sparkle-engine
sparkle-engine
Animations
Class Animations
Hierarchy (
view full
)
Resources
Animations
Implements
IResources
Index
Constructors
constructor
Properties
animations
gap
Size
h
Frames
texture
v
Frames
Methods
get
Ani
Data
get
Animation
Region
Constructors
constructor
new
Animations
(
options
)
:
Animations
Parameters
options
:
IAnimationOption
Returns
Animations
Properties
animations
animations
:
{
[
name
:
string
]
:
IAnimationFrames
;
}
动画
Type declaration
[
name
:
string
]:
IAnimationFrames
gap
Size
gap
Size
:
number
间隔
h
Frames
h
Frames
:
number
横着几帧
texture
texture
:
Texture
纹理
v
Frames
v
Frames
:
number
竖着几帧
Methods
get
Ani
Data
get
Ani
Data
(
name
)
:
IAnimationFrames
Parameters
name
:
string
Returns
IAnimationFrames
get
Animation
Region
get
Animation
Region
(
frame
)
:
undefined
|
Rect
Parameters
frame
:
number
Returns
undefined
|
Rect
Preparing search index...
The search index is not available
sparkle-engine
CONTENTS
Math
Color
MathUtils
Matrix
Path
Rect
Vector2
GameNode
Collision
Container
Drawable
Graphical
Sprite
Text
Timer
Transform2D
Texture
AltasTexture
BaseTexture
Texture
TextureManager
Input
InputManager
MouseManager
Physics
Collision
PhysicsManager
Audio
Audio
AudioManager
Others
DebuggerDrawType
GraphicalType
PRIMITIVE_MODE
ResourcesType
SCALE_MODE
TextAnchor
Animations
DataResources
EventEmitter
GLShader
Loader
ObjectPool
Renderer
Resources
ResourcesManager
Scene
SparkleEngine
TextManager
VertexArrayBuffer
AnimationsStore
AttributeInfo
IAnimationFrames
IAnimationOption
IAudioEvent
IBaseGraphicalOptions
ICircleOptions
ICollisionEvent
ICollisionOptions
ICollisionResult
ICompositorOptions
IContainerEvent
IContainerOptions
ICopyable
IDebuggerDraw
IDestoryable
IDrawLineOptions
IDrawOptions
IDrawPolygonOptions
IDrawableOptions
IEventAble
IInputEvents
IListened
ILoadAnimationOptions
ILoaderEvent
IMouseData
IMouseEvents
IPolygonOptions
IPoolable
IRectOptions
IRenderOptions
IResources
IResourcesManagerEvent
IResourcesStore
ISparkleEngineOption
ISpriteOptions
ITextOptions
ITimerEvents
ITimerOptions
ITransform2DOptions
PoolTypes
AttributesLocation
Constructor
IGraphicalOptions
Images
动画