Search
Preparing search index...
The search index is not available
gtools
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
gtools
physics/objects/2d/ray-2d
Ray2D
Class Ray2D
Hierarchy
Ray2D
Index
Constructors
constructor
Properties
direction
length
origin
Accessors
end
Methods
from
Line
Constructors
constructor
new
Ray2D
(
origin
:
SimpleVector2
, direction
:
SimpleVector2
, length
?:
number
)
:
Ray2D
Parameters
origin:
SimpleVector2
direction:
SimpleVector2
length:
number
= ...
Returns
Ray2D
Properties
Readonly
direction
direction
:
SimpleVector2
Readonly
length
length
:
number
= ...
Readonly
origin
origin
:
SimpleVector2
Accessors
end
get
end
(
)
:
SimpleVector2
Returns
SimpleVector2
Methods
Static
from
Line
from
Line
(
start
:
SimpleVector2
, end
:
SimpleVector2
)
:
Ray2D
Parameters
start:
SimpleVector2
end:
SimpleVector2
Returns
Ray2D
Modules
physics/objects/2d/ray-
2d
Ray
Mode
Ray2D
constructor
direction
length
origin
end
from
Line
Ray
Cast2D
Raycast
Result
Generated using
TypeDoc