@casual-simulation/aux-records
Advanced tools
Changelog
V3.0.16
uv
property to @onClick
, @onAnyBotClicked
, @onDrag
, and @onAnyBotDrag
shouts.
formAddress
) on the bot that was clicked.(0, 0)
(1, 0)
(0, 1)
(1, 1)
os.raycast(portal, origin, direction)
and os.raycastFromCamera(portal, viewportPosition)
functions.
os.raycastFromCamera()
.grid
, miniGrid
, map
and miniMap
portals are supported.os.calculateRayFromCamera(portal, viewportPosition)
function.
grid
, miniGrid
, map
and miniMap
portals are supported.os.getPublicRecordKey()
to return an errorReason
for failed requests.lineStyle = wall
to support the coordinate system changes from v3.0.11.Changelog
V3.0.14
circle
bot form ignore lighting changes based on its orientation.formAddressAspectRatio
tag to allow adjusting how formAddress
images/videos are displayed on cube
, circle
, and sprite
bot forms.
os.joinRoom(roomName, options?)
os.leaveRoom(roomName, options?)
os.getRoomOptions(roomName)
os.setRoomOptions(roomName, options)
os.getRoomTrackOptions(roomName, trackAddress)
os.setRoomTrackOptions(roomName, trackAddress, options)
os.getRoomRemoteOptions(roomName, remoteId)
@onRoomJoined
- Sent whenever a room has been joined via os.joinRoom()
@onRoomLeave
- Sent whenever a room has been exited via os.leaveRoom()
@onRoomStreaming
- Sent whenever the local user has been connected or reconnected to a room.@onRoomStreamLost
- Sent whenever the local user has been disconnected from a room.@onRoomTrackSubscribed
- Sent whenever an audio/video track has been discovered inside a room.@onRoomTrackUnsubscribed
- Sent whenever an audio/video track has been removed from a room.@onRoomRemoteJoined
- Sent whenever a remote user has joined a room.@onRoomRemoteLeave
- Sent whenever a remote user has left a room.@onRoomSpeakersChanged
- Sent whenever the list of speaking users has changed in a room.@onRoomOptionsChanged
- Sent whenever the local room options have been changed.rooms-example
appBundle for an example.os.listInstUpdates()
and os.getInstStateFromUpdates(updates)
functions.
os.listInstUpdates()
gets the list of updates that have occurred in the current instance.os.getInstStateFromUpdates()
gets the bot state that is produced by the given list of updates.@onAnyAction
calls for bot updates.os.tip()
with long words could cause the words to overflow the tooltip background.