@casual-simulation/causal-tree-store-browser
Advanced tools
Changelog
V3.1.11
portalZoomableMin
and portalZoomableMax
tags.analytics.recordEvent(name, metadata?)
function.@onKeyRepeat
shout that is fired when a key is held down and "auto repeated".focus()
click()
blur()
select()
setRangeText()
setSelectionRange()
showPicker()
stepDown()
stepUp()
reset()
submit()
fastSeek()
load()
pause()
play()
requestPictureInPicture()
document.getElementById()
function for custom apps.Vector2
, Vector3
, Rotation
, and DateTime
values would cause the shared space to emit an error if they were stored in a tag on a new bot while it was being processed by the space.@onKeyDown
to only be emitted once when a key is starting to be held down and not continually while a key is held down.Changelog
V3.1.29
@onSpaceMaxSizeReached
shout.
that
is an object with the following properties:
space
- The space that reached is maximum storage size. Generally, this is shared
.maxSizeInBytes
- The maximum allowed size for the space in bytes.neededSizeInBytes
- The number of bytes that would be needed to store the data that was placed in the space.shared
space and receive this shout, then it is possible that the bot was not persistently stored and shared, but it is still available by scripts until the browser tab is refreshed or the PC is restarted.RATE_LIMIT_MAX
- The maximum number of requests that can be recieved from an IP address over the window.RATE_LIMIT_WINDOW_MS
- The size of the window for requests represented in miliseconds.formOpacity
tag, which allows bots to be semi-transparent.
formOpacity
value of 1
means that the bot's mesh materials are effectively in their default opacity and transparency state.formOpacity
value < 1
means that the bot's mesh materials become transparent and that the formOpacity
value is used to modify each material's default opacity level.formOpacity
value of 0
would effectively make the bot invisible.os.grantRecordMarkerPermission()
os.revokeRecordMarkerPermission()
os.grantInstAdminPermission()
os.grantUserRole()
os.grantInstRole()
os.revokeUserRole()
os.revokeInstRole()
@onSpaceRateLimitExceeded
shout which occurs when a space rejects a tag change or event because a rate limit was exceeded.os.getMediaPermission
would leave tracks in a MediaStream running. Some browsers/devices release these automatically, while others would leave the tracks running and cause issues with other systems that utilize audio and video hardware like augmented reality.data:
URLs would not work in the formAddress
tag without a workaround.transformer
moved.
lineTo
to updating correctly while using the transformer
tag. Issue #276color
tag would not apply to all materials in a gltf model.os.beginAudioRecording
would fail to provide audio chunks in stream mode if the mimeType was anything other than audio/x-raw
.tempShared
and remoteTempShared
spaces.null
tag value would cause the null value to become visible after a refresh.