High Fidelity API Reference
Tools Used: JavaScript, JSDoc, GitHub Pages, Markdown, HTML, CSS
Globals
Methods
| Name | Return Value | Summary |
|---|---|---|
None | Prints a message to the program log and emits Script.printedMessage. The message logged is the message values separated by spaces. Alternatively, you can use Script.print or one of the console API methods. |
Type Definitions
AttachmentDataAttachmentData Type: object | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Information on an attachment worn by the avatar. Properties
|
AvatarDataAvatarData Type: object | |||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Information about an avatar. Properties
|
CollisionCollision Type: object | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Details of a collision between avatars and entities. Properties
|
ColorColor Type: object | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
A color vector. Properties
|
Mat4Mat4 Type: object | |||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A 4 x 4 matrix, typically containing a scale, rotation, and translation transform. Properties
|
PointerEventPointerEvent Type: object | ||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A 2D or 3D mouse or similar pointer event. Properties
|
QuatQuat Type: object | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A quaternion value. Properties
|
UuidUuid Type: string |
|---|
UUIDs (Universally Unique IDentifiers) are used to uniquely identify entities, avatars, and the like. They are represented in JavaScript as strings in the format |
Vec3 Type: object | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
A 3-dimensional vector. Properties
|
WebInputModeWebInputMode Type: string | ||||||
|---|---|---|---|---|---|---|
Specifies how a web surface processes events.
|
Method Details
printprint( ...messageopt ) | ||||||||
|---|---|---|---|---|---|---|---|---|
Prints a message to the program log and emits Script.printedMessage. The message logged is the message values separated by spaces. Alternatively, you can use Script.print or one of the console API methods. Parameters
|