Search
Preparing search index...
The search index is not available
@akashic/akashic-engine
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"lib/main.d"
g
VideoAsset
Class VideoAsset
Hierarchy
ImageAsset
VideoAsset
Implements
Destroyable
Index
Constructors
constructor
Properties
_loop
_system
_use
Real
Size
height
id
on
Destroyed
original
Path
path
real
Height
real
Width
width
Methods
_asset
Path
Filter
_load
as
Surface
destroy
destroyed
get
Player
in
Use
play
stop
Constructors
constructor
new
Video
Asset
(
id
:
string
, assetPath
:
string
, width
:
number
, height
:
number
, system
:
VideoSystem
, loop
:
boolean
, useRealSize
:
boolean
)
:
VideoAsset
Parameters
id:
string
assetPath:
string
width:
number
height:
number
system:
VideoSystem
loop:
boolean
useRealSize:
boolean
Returns
VideoAsset
Properties
Private
_loop
_loop
:
boolean
Private
_system
_system
:
VideoSystem
Private
_use
Real
Size
_use
Real
Size
:
boolean
height
height
:
number
id
id
:
string
on
Destroyed
on
Destroyed
:
Trigger
<
Asset
>
original
Path
original
Path
:
string
path
path
:
string
real
Height
real
Height
:
number
real
Width
real
Width
:
number
width
width
:
number
Methods
Private
_asset
Path
Filter
_asset
Path
Filter
(
path
:
string
)
:
string
Parameters
path:
string
Returns
string
Private
_load
_load
(
loader
:
AssetLoadHandler
)
:
void
Parameters
loader:
AssetLoadHandler
Returns
void
as
Surface
as
Surface
(
)
:
Surface
Returns
Surface
destroy
destroy
(
)
:
void
Returns
void
destroyed
destroyed
(
)
:
boolean
Returns
boolean
get
Player
get
Player
(
)
:
VideoPlayer
Returns
VideoPlayer
in
Use
in
Use
(
)
:
boolean
Returns
boolean
play
play
(
loop
?:
boolean
)
:
VideoPlayer
Parameters
Optional
loop:
boolean
Returns
VideoPlayer
stop
stop
(
)
:
void
Returns
void
Globals
Video
Asset
constructor
_loop
_system
_use
Real
Size
height
id
on
Destroyed
original
Path
path
real
Height
real
Width
width
_asset
Path
Filter
_load
as
Surface
destroy
destroyed
get
Player
in
Use
play
stop
Generated using
TypeDoc