Search
Preparing search index...
The search index is not available
MBCore GameTest Module
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
MBCore GameTest Module
RaycastResult
Class RaycastResult
Hierarchy
RaycastResult
Index
Constructors
constructor
Methods
get
Block
get
Block
Face
get
Collision
Position
get
Direction
get
Distance
From
Entity
get
Entities
get
First
Entity
get
Origin
get
Properties
hit
Block
hit
Entity
Constructors
constructor
new
Raycast
Result
(
origin
:
Vector3
, direction
:
Vector3
, properties
:
RaycastProperties
, entities
:
Entity
[]
, pos
?:
Vector3
, block
?:
Block
, blockFace
?:
Direction
)
:
RaycastResult
Parameters
origin:
Vector3
direction:
Vector3
properties:
RaycastProperties
entities:
Entity
[]
Optional
pos:
Vector3
Optional
block:
Block
Optional
blockFace:
Direction
Returns
RaycastResult
Methods
get
Block
get
Block
(
)
:
Block
Returns
Block
get
Block
Face
get
Block
Face
(
)
:
Direction
Returns
Direction
get
Collision
Position
get
Collision
Position
(
)
:
Vector3
Returns
Vector3
get
Direction
get
Direction
(
)
:
Vector3
Returns
Vector3
get
Distance
From
Entity
get
Distance
From
Entity
(
entity
:
Entity
)
:
number
Parameters
entity:
Entity
Returns
number
get
Entities
get
Entities
(
)
:
Entity
[]
Returns
Entity
[]
get
First
Entity
get
First
Entity
(
)
:
Entity
Returns
Entity
get
Origin
get
Origin
(
)
:
Vector3
Returns
Vector3
get
Properties
get
Properties
(
)
:
RaycastProperties
Returns
RaycastProperties
hit
Block
hit
Block
(
)
:
boolean
Returns
boolean
hit
Entity
hit
Entity
(
)
:
boolean
Returns
boolean
Exports
Raycast
Result
constructor
get
Block
get
Block
Face
get
Collision
Position
get
Direction
get
Distance
From
Entity
get
Entities
get
First
Entity
get
Origin
get
Properties
hit
Block
hit
Entity
Generated using
TypeDoc
version 0.22.18, the 7/5/2022