RayPick

Available in: Interface Scripts Client Entity Scripts

Synonym for Picks as used for ray picks.
Methods

Properties:
Name Type Description
PICK_NOTHING number Read-only.
PICK_ENTITIES number Read-only.
PICK_OVERLAYS number Read-only.
PICK_AVATARS number Read-only.
PICK_HUD number Read-only.
PICK_COARSE number Read-only.
PICK_INCLUDE_INVISIBLE number Read-only.
PICK_INCLUDE_NONCOLLIDABLE number Read-only.
PICK_ALL_INTERSECTIONS number Read-only.
INTERSECTED_NONE number Read-only.
INTERSECTED_ENTITY number Read-only.
INTERSECTED_OVERLAY number Read-only.
INTERSECTED_AVATAR number Read-only.
INTERSECTED_HUD number Read-only.

Methods

createRayPick() → {number}
Parameters:
Type Description
Picks.RayPickProperties
Returns:
Type: number
disableRayPick(id)
Parameters:
Name Type Description
id number
enableRayPick(id)
Parameters:
Name Type Description
id number
getPrevRayPickResult(id) → {RayPickResult}
Parameters:
Name Type Description
id number
Returns:
Type: RayPickResult
INTERSECTED_AVATAR() → {number}
Returns:
Type: number
INTERSECTED_ENTITY() → {number}
Returns:
Type: number
INTERSECTED_HUD() → {number}
Returns:
Type: number
INTERSECTED_NONE() → {number}
Returns:
Type: number
INTERSECTED_OVERLAY() → {number}
Returns:
Type: number
isLeftHand(id) → {boolean}
Parameters:
Name Type Description
id number
Returns:
Type: boolean
isMouse(id) → {boolean}
Parameters:
Name Type Description
id number
Returns:
Type: boolean
isRightHand(id) → {boolean}
Parameters:
Name Type Description
id number
Returns:
Type: boolean
PICK_ALL_INTERSECTIONS() → {number}
Returns:
Type: number
PICK_AVATARS() → {number}
Returns:
Type: number
PICK_COARSE() → {number}
Returns:
Type: number
PICK_ENTITIES() → {number}
Returns:
Type: number
PICK_HUD() → {number}
Returns:
Type: number
PICK_INCLUDE_INVISIBLE() → {number}
Returns:
Type: number
PICK_INCLUDE_NONCOLLIDABLE() → {number}
Returns:
Type: number
PICK_NOTHING() → {number}
Returns:
Type: number
PICK_OVERLAYS() → {number}
Returns:
Type: number
removeRayPick(id)
Parameters:
Name Type Description
id number
setIgnoreItems(id, {Uuid[]))
Parameters:
Name Type Description
id number
{Uuid[]) ignoreEntities
setIncludeItems(id, {Uuid[]))
Parameters:
Name Type Description
id number
{Uuid[]) includeEntities
setPrecisionPicking(id, precisionPicking)
Parameters:
Name Type Description
id number
precisionPicking boolean