Search
Preparing search index...
The search index is not available
YORG.io 3 Docs
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
LaserComponent
Class LaserComponent
Hierarchy
Component
LaserComponent
Index
Constructors
constructor
Methods
deserialize
get
Debug
String
is
Currently
Shooting
serialize
get
Cached
Schema
get
Id
get
Schema
verify
Constructors
constructor
new
Laser
Component
(
__namedParameters
:
object
)
:
LaserComponent
Parameters
__namedParameters:
object
consume
Per
Shot
:
number
consume
Resource
:
any
damage
Type
:
any
shoot
Interval
Seconds
:
number
shot
Damage
Tick
Interval
:
number
shot
Duration
Seconds
:
number
shot
Length
World
Space
:
number
Returns
LaserComponent
Methods
deserialize
deserialize
(
data
:
any
)
:
any
Parameters
data:
any
Returns
any
get
Debug
String
get
Debug
String
(
)
:
string
Returns
string
is
Currently
Shooting
is
Currently
Shooting
(
time
:
any
)
:
boolean
Returns if the laser is currently shooting and thus may not aim further
Parameters
time:
any
Returns
boolean
serialize
serialize
(
)
:
object
Returns
object
Static
get
Cached
Schema
get
Cached
Schema
(
)
:
any
Returns
any
Static
get
Id
get
Id
(
)
:
string
Returns
string
Static
get
Schema
get
Schema
(
)
:
object
Returns
object
last
Damage
Tick
:
TypeNumber
last
Shot
Time
:
TypeNumber
shot
End
Pos
:
TypeNullable
shot
Start
Pos
:
TypeNullable
Static
verify
verify
(
data
:
any
)
:
string
Parameters
data:
any
Returns
string
Globals
Laser
Component
constructor
deserialize
get
Debug
String
is
Currently
Shooting
serialize
get
Cached
Schema
get
Id
get
Schema
verify