LaserPointers

Methods

createLaserPointer(properties) → {number}
Parameters:
Name Type Description
properties Pointers.LaserPointerProperties
Returns:
Type: number
disableLaserPointer(id)
Parameters:
Name Type Description
id number
editRenderState(id, renderState, properties)
Parameters:
Name Type Description
id number
renderState string
properties Pointers.RayPointerRenderState
enableLaserPointer(id)
Parameters:
Name Type Description
id number
getPrevRayPickResult(id) → {RayPickResult}
Parameters:
Name Type Description
id number
Returns:
Type: RayPickResult
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
removeLaserPointer(id)
Parameters:
Name Type Description
id number
setIgnoreItems(id, ignoreItems)
Parameters:
Name Type Description
id number
ignoreItems Array.<Uuid>
setIncludeItems(id, includeItems)
Parameters:
Name Type Description
id number
includeItems Array.<Uuid>
setLaserLength(id, laserLength)
Parameters:
Name Type Description
id number
laserLength number
setLockEndUUID(id, itemID, isOverlay, offsetMatopt)
Parameters:
Name Type Attributes Description
id number
itemID Uuid
isOverlay boolean
offsetMat Mat4 <optional>
setPrecisionPicking(id, precisionPicking)
Parameters:
Name Type Description
id number
precisionPicking boolean
setRenderState(renderState, id)
Parameters:
Name Type Description
renderState string
id number