LaserPointers

Description

Synonym for Pointers as used for laser pointers. Deprecated.

Supported Script Types: Interface Scripts • Client Entity Scripts • Avatar Scripts

Methods

Name Return Value Summary
createLaserPointer number
disableLaserPointer None
editRenderState None
enableLaserPointer None
getPrevRayPickResult RayPickResult
isLeftHand boolean
isMouse boolean
isRightHand boolean
removeLaserPointer None
setIgnoreItems None
setIncludeItems None
setLaserLength None
setLockEndUUID None
setPrecisionPicking None
setRenderState None

Method Details

(static) createLaserPointer( properties ) → {number}
Returns: number

Parameters

Name Type Description
properties Pointers.LaserPointerProperties
(static) disableLaserPointer( id )

Parameters

Name Type Description
id number
(static) editRenderState( id, renderState, properties )

Parameters

Name Type Description
id number
renderState string
properties Pointers.RayPointerRenderState
(static) enableLaserPointer( id )

Parameters

Name Type Description
id number
(static) getPrevRayPickResult( id ) → {RayPickResult}
Returns: RayPickResult

Parameters

Name Type Description
id number
(static) isLeftHand( id ) → {boolean}
Returns: boolean

Parameters

Name Type Description
id number
(static) isMouse( id ) → {boolean}
Returns: boolean

Parameters

Name Type Description
id number
(static) isRightHand( id ) → {boolean}
Returns: boolean

Parameters

Name Type Description
id number
(static) removeLaserPointer( id )

Parameters

Name Type Description
id number
(static) setIgnoreItems( id, ignoreItems )

Parameters

Name Type Description
id number
ignoreItems Array.<Uuid>
(static) setIncludeItems( id, includeItems )

Parameters

Name Type Description
id number
includeItems Array.<Uuid>
(static) setLaserLength( id, laserLength )

Parameters

Name Type Description
id number
laserLength number
(static) setLockEndUUID( id, itemID, isAvatar, offsetMatopt )

Parameters

Name Type Attributes Description
id number
itemID Uuid
isAvatar boolean
offsetMat Mat4 <optional>
(static) setPrecisionPicking( id, precisionPicking )

Parameters

Name Type Description
id number
precisionPicking boolean
(static) setRenderState( renderState, id )

Parameters

Name Type Description
renderState string
id number