Stats

Available in: Interface Scripts Client Entity Scripts Server Entity Scripts Assignment Client Scripts

Methods

Signals

Properties:
Name Type Description
expanded boolean
timingExpanded boolean Read-only.
monospaceFont string Read-only.
serverCount number Read-only.
renderrate number How often the app is creating new gpu::Frames. Read-only.
presentrate number How often the display plugin is presenting to the device. Read-only.
stutterrate number How often the display device is reprojecting old frames. Read-only.
appdropped number Read-only.
longsubmits number Read-only.
longrenders number Read-only.
longframes number Read-only.
presentnewrate number Read-only.
presentdroprate number Read-only.
gameLoopRate number Read-only.
avatarCount number Read-only.
physicsObjectCount number Read-only.
updatedAvatarCount number Read-only.
notUpdatedAvatarCount number Read-only.
packetInCount number Read-only.
packetOutCount number Read-only.
mbpsIn number Read-only.
mbpsOut number Read-only.
assetMbpsIn number Read-only.
assetMbpsOut number Read-only.
audioPing number Read-only.
avatarPing number Read-only.
entitiesPing number Read-only.
assetPing number Read-only.
messagePing number Read-only.
position Vec3 Read-only.
speed number Read-only.
yaw number Read-only.
avatarMixerInKbps number Read-only.
avatarMixerInPps number Read-only.
avatarMixerOutKbps number Read-only.
avatarMixerOutPps number Read-only.
myAvatarSendRate number Read-only.
audioMixerInKbps number Read-only.
audioMixerInPps number Read-only.
audioMixerOutKbps number Read-only.
audioMixerOutPps number Read-only.
audioMixerKbps number Read-only.
audioMixerPps number Read-only.
audioOutboundPPS number Read-only.
audioSilentOutboundPPS number Read-only.
audioAudioInboundPPS number Read-only.
audioSilentInboundPPS number Read-only.
audioPacketLoss number Read-only.
audioCodec string Read-only.
audioNoiseGate string Read-only.
entityPacketsInKbps number Read-only.
downloads number Read-only.
downloadLimit number Read-only.
downloadsPending number Read-only.
downloadUrls Array.<string> Read-only.
processing number Read-only.
processingPending number Read-only.
triangles number Read-only.
materialSwitches number Read-only.
itemConsidered number Read-only.
itemOutOfView number Read-only.
itemTooSmall number Read-only.
itemRendered number Read-only.
shadowConsidered number Read-only.
shadowOutOfView number Read-only.
shadowTooSmall number Read-only.
shadowRendered number Read-only.
sendingMode string Read-only.
packetStats string Read-only.
lodStatus string Read-only.
timingStats string Read-only.
gameUpdateStats string Read-only.
serverElements number Read-only.
serverInternal number Read-only.
serverLeaves number Read-only.
localElements number Read-only.
localInternal number Read-only.
localLeaves number Read-only.
rectifiedTextureCount number Read-only.
decimatedTextureCount number Read-only.
gpuBuffers number Read-only.
gpuBufferMemory number Read-only.
gpuTextures number Read-only.
glContextSwapchainMemory number Read-only.
qmlTextureMemory number Read-only.
texturePendingTransfers number Read-only.
gpuTextureMemory number Read-only.
gpuTextureResidentMemory number Read-only.
gpuTextureFramebufferMemory number Read-only.
gpuTextureResourceMemory number Read-only.
gpuTextureResourceIdealMemory number Read-only.
gpuTextureResourcePopulatedMemory number Read-only.
gpuTextureExternalMemory number Read-only.
gpuTextureMemoryPressureState string Read-only.
gpuFreeMemory number Read-only.
gpuFrameTime number Read-only.
batchFrameTime number Read-only.
engineFrameTime number Read-only.
avatarSimulationTime number Read-only.
animStackNames Array.<string> Read-only.
x number
y number
z number
width number
height number
opacity number
enabled boolean
visible boolean
state string
anchors object Read-only.
baselineOffset number
clip boolean
focus boolean
activeFocus boolean Read-only.
activeFocusOnTab boolean
rotation number
scale number
transformOrigin number
smooth boolean
antialiasing boolean
implicitWidth number
implicitHeight number
layer object Read-only.
stylusPicksCount number Read-only.
rayPicksCount number Read-only.
parabolaPicksCount number Read-only.
collisionPicksCount number Read-only.
stylusPicksUpdated Vec4 Read-only.
rayPicksUpdated Vec4 Read-only.
parabolaPicksUpdated Vec4 Read-only.
collisionPicksUpdated Vec4 Read-only.

Methods

childAt(x, y) → {object}
Parameters:
Name Type Description
x number
y number
Returns:
Type: object
contains(point) → {boolean}
Parameters:
Name Type Description
point Vec2
Returns:
Type: boolean
forceActiveFocus(reasonopt)
Parameters:
Name Type Attributes Default Description
reason number <optional>
7
grabToImage(callback, targetSizeopt) → {boolean}
Parameters:
Name Type Attributes Default Description
callback object
targetSize Size <optional>
0,0
Returns:
Type: boolean
mapFromGlobal(global)
Parameters:
Name Type Description
global object
mapFromItem(item)
Parameters:
Name Type Description
item object
mapToGlobal(global)
Parameters:
Name Type Description
global object
mapToItem(item)
Parameters:
Name Type Description
item object
nextItemInFocusChain(forwardopt) → {object}
Parameters:
Name Type Attributes Default Description
forward boolean <optional>
true
Returns:
Type: object
update()

Signals

activeFocusChanged(activeFocus) → {Signal}
Triggered when the value of the activeFocus property changes.
Parameters:
Name Type Description
activeFocus boolean
Returns:
Type: Signal
activeFocusOnTabChanged(activeFocusOnTab) → {Signal}
Triggered when the value of the activeFocusOnTab property changes.
Parameters:
Name Type Description
activeFocusOnTab boolean
Returns:
Type: Signal
animStackNamesChanged() → {Signal}
Triggered when the value of the animStackNames property changes.
Returns:
Type: Signal
antialiasingChanged(antialiasing) → {Signal}
Triggered when the value of the antialiasing property changes.
Parameters:
Name Type Description
antialiasing boolean
Returns:
Type: Signal
appdroppedChanged() → {Signal}
Triggered when the value of the appdropped property changes.
Returns:
Type: Signal
assetMbpsInChanged() → {Signal}
Triggered when the value of the assetMbpsIn property changes.
Returns:
Type: Signal
assetMbpsOutChanged() → {Signal}
Triggered when the value of the assetMbpsOut property changes.
Returns:
Type: Signal
assetPingChanged() → {Signal}
Triggered when the value of the assetPing property changes.
Returns:
Type: Signal
audioAudioInboundPPSChanged() → {Signal}
Triggered when the value of the audioAudioInboundPPS property changes.
Returns:
Type: Signal
audioCodecChanged() → {Signal}
Triggered when the value of the audioCodec property changes.
Returns:
Type: Signal
audioMixerInKbpsChanged() → {Signal}
Triggered when the value of the audioMixerInKbps property changes.
Returns:
Type: Signal
audioMixerInPpsChanged() → {Signal}
Triggered when the value of the audioMixerInPps property changes.
Returns:
Type: Signal
audioMixerKbpsChanged() → {Signal}
Triggered when the value of the audioMixerKbps property changes.
Returns:
Type: Signal
audioMixerOutKbpsChanged() → {Signal}
Triggered when the value of the audioMixerOutKbps property changes.
Returns:
Type: Signal
audioMixerOutPpsChanged() → {Signal}
Triggered when the value of the audioMixerOutPps property changes.
Returns:
Type: Signal
audioMixerPpsChanged() → {Signal}
Triggered when the value of the audioMixerPps property changes.
Returns:
Type: Signal
audioNoiseGateChanged() → {Signal}
Triggered when the value of the audioNoiseGate property changes.
Returns:
Type: Signal
audioOutboundPPSChanged() → {Signal}
Triggered when the value of the audioOutboundPPS property changes.
Returns:
Type: Signal
audioPacketLossChanged() → {Signal}
Triggered when the value of the audioPacketLoss property changes.
Returns:
Type: Signal
audioPingChanged() → {Signal}
Triggered when the value of the audioPing property changes.
Returns:
Type: Signal
audioSilentInboundPPSChanged() → {Signal}
Triggered when the value of the audioSilentInboundPPS property changes.
Returns:
Type: Signal
audioSilentOutboundPPSChanged() → {Signal}
Triggered when the value of the audioSilentOutboundPPS property changes.
Returns:
Type: Signal
avatarCountChanged() → {Signal}
Triggered when the value of the avatarCount property changes.
Returns:
Type: Signal
avatarMixerInKbpsChanged() → {Signal}
Triggered when the value of the avatarMixerInKbps property changes.
Returns:
Type: Signal
avatarMixerInPpsChanged() → {Signal}
Triggered when the value of the avatarMixerInPps property changes.
Returns:
Type: Signal
avatarMixerOutKbpsChanged() → {Signal}
Triggered when the value of the avatarMixerOutKbps property changes.
Returns:
Type: Signal
avatarMixerOutPpsChanged() → {Signal}
Triggered when the value of the avatarMixerOutPps property changes.
Returns:
Type: Signal
avatarPingChanged() → {Signal}
Triggered when the value of the avatarPing property changes.
Returns:
Type: Signal
avatarSimulationTimeChanged() → {Signal}
Triggered when the value of the avatarSimulationTime property changes.
Returns:
Type: Signal
baselineOffsetChanged(baselineOffset) → {Signal}
Triggered when the value of the baselineOffset property changes.
Parameters:
Name Type Description
baselineOffset number
Returns:
Type: Signal
batchFrameTimeChanged() → {Signal}
Triggered when the value of the batchFrameTime property changes.
Returns:
Type: Signal
childrenRectChanged(childrenRect) → {Signal}
Triggered when the position and size of the rectangle containing the children changes.
Parameters:
Name Type Description
childrenRect Rect
Returns:
Type: Signal
clipChanged(clip) → {Signal}
Triggered when the value of the clip property changes.
Parameters:
Name Type Description
clip boolean
Returns:
Type: Signal
collisionPicksCountChanged() → {Signal}
Triggered when the value of the collisionPicksCount property changes.
Returns:
Type: Signal
collisionPicksUpdatedChanged() → {Signal}
Triggered when the value of the collisionPicksUpdated property changes.
Returns:
Type: Signal
decimatedTextureCountChanged() → {Signal}
Triggered when the value of the decimatedTextureCount property changes.
Returns:
Type: Signal
downloadLimitChanged() → {Signal}
Triggered when the value of the downloadLimit property changes.
Returns:
Type: Signal
downloadsChanged() → {Signal}
Triggered when the value of the downloads property changes.
Returns:
Type: Signal
downloadsPendingChanged() → {Signal}
Triggered when the value of the downloadsPending property changes.
Returns:
Type: Signal
downloadUrlsChanged() → {Signal}
Triggered when the value of the downloadUrls property changes.
Returns:
Type: Signal
drawcallsChanged() → {Signal}
Triggered when the value of the drawcalls property changes. This
Returns:
Type: Signal
enabledChanged() → {Signal}
Triggered when the value of the enabled property changes.
Returns:
Type: Signal
engineFrameTimeChanged() → {Signal}
Triggered when the value of the engineFrameTime property changes.
Returns:
Type: Signal
entitiesPingChanged() → {Signal}
Triggered when the value of the entitiesPing property changes.
Returns:
Type: Signal
entityPacketsInKbpsChanged() → {Signal}
Triggered when the value of the entityPacketsInKbps property changes.
Returns:
Type: Signal
expandedChanged() → {Signal}
Triggered when the value of the expanded property changes.
Returns:
Type: Signal
focusChanged(focus) → {Signal}
Triggered when the value of the focus property changes.
Parameters:
Name Type Description
focus boolean
Returns:
Type: Signal
gameLoopRateChanged() → {Signal}
Triggered when the value of the gameLoopRate property changes.
Returns:
Type: Signal
gameUpdateStatsChanged() → {Signal}
Triggered when the value of the gameUpdateStats property changes.
Returns:
Type: Signal
glContextSwapchainMemoryChanged() → {Signal}
Triggered when the value of the glContextSwapchainMemory property changes.
Returns:
Type: Signal
gpuBufferMemoryChanged() → {Signal}
Triggered when the value of the gpuBufferMemory property changes.
Returns:
Type: Signal
gpuBuffersChanged() → {Signal}
Triggered when the value of the gpuBuffers property changes.
Returns:
Type: Signal
gpuFrameTimeChanged() → {Signal}
Triggered when the value of the gpuFrameTime property changes.
Returns:
Type: Signal
gpuFrameTimeChanged() → {Signal}
Triggered when the value of the gpuFrameTime property changes.
Returns:
Type: Signal
gpuFrameTimeChanged() → {Signal}
Triggered when the value of the gpuFrameTime property changes.
Returns:
Type: Signal
gpuFreeMemoryChanged() → {Signal}
Triggered when the value of the gpuFreeMemory property changes.
Returns:
Type: Signal
gpuTextureExternalMemoryChanged() → {Signal}
Triggered when the value of the gpuTextureExternalMemory property changes.
Returns:
Type: Signal
gpuTextureFramebufferMemoryChanged() → {Signal}
Triggered when the value of the gpuTextureFramebufferMemory property changes.
Returns:
Type: Signal
gpuTextureMemoryChanged() → {Signal}
Triggered when the value of the gpuTextureMemory property changes.
Returns:
Type: Signal
gpuTextureMemoryPressureStateChanged() → {Signal}
Triggered when the value of the gpuTextureMemoryPressureState property changes.
Returns:
Type: Signal
gpuTextureResidentMemoryChanged() → {Signal}
Triggered when the value of the gpuTextureResidentMemory property changes.
Returns:
Type: Signal
gpuTextureResourceIdealMemoryChanged() → {Signal}
Triggered when the value of the gpuTextureResourceIdealMemory property changes.
Returns:
Type: Signal
gpuTextureResourceMemoryChanged() → {Signal}
Triggered when the value of the gpuTextureResourceMemory property changes.
Returns:
Type: Signal
gpuTextureResourcePopulatedMemoryChanged() → {Signal}
Triggered when the value of the gpuTextureResourcePopulatedMemory property changes.
Returns:
Type: Signal
gpuTexturesChanged() → {Signal}
Triggered when the value of the gpuTextures property changes.
Returns:
Type: Signal
heightChanged() → {Signal}
Triggered when the value of the height property changes.
Returns:
Type: Signal
implicitHeightChanged() → {Signal}
Triggered when the value of the implicitHeight property changes.
Returns:
Type: Signal
implicitWidthChanged() → {Signal}
Triggered when the value of the implicitWidth property changes.
Returns:
Type: Signal
itemConsideredChanged() → {Signal}
Triggered when the value of the itemConsidered property changes.
Returns:
Type: Signal
itemOutOfViewChanged() → {Signal}
Triggered when the value of the itemOutOfView property changes.
Returns:
Type: Signal
itemRenderedChanged() → {Signal}
Triggered when the value of the itemRendered property changes.
Returns:
Type: Signal
itemTooSmallChanged() → {Signal}
Triggered when the value of the itemTooSmall property changes.
Returns:
Type: Signal
localElementsChanged() → {Signal}
Triggered when the value of the localElements property changes.
Returns:
Type: Signal
localInternalChanged() → {Signal}
Triggered when the value of the localInternal property changes.
Returns:
Type: Signal
localLeavesChanged() → {Signal}
Triggered when the value of the localLeaves property changes.
Returns:
Type: Signal
lodStatusChanged() → {Signal}
Triggered when the value of the lodStatus property changes.
Returns:
Type: Signal
longframesChanged() → {Signal}
Triggered when the value of the longframes property changes.
Returns:
Type: Signal
longrendersChanged() → {Signal}
Triggered when the value of the longrenders property changes.
Returns:
Type: Signal
longsubmitsChanged() → {Signal}
Triggered when the value of the longsubmits property changes.
Returns:
Type: Signal
materialSwitchesChanged() → {Signal}
Triggered when the value of the materialSwitches property changes.
Returns:
Type: Signal
mbpsInChanged() → {Signal}
Triggered when the value of the mbpsIn property changes.
Returns:
Type: Signal
mbpsOutChanged() → {Signal}
Triggered when the value of the mbpsOut property changes.
Returns:
Type: Signal
messagePingChanged() → {Signal}
Triggered when the value of the messagePing property changes.
Returns:
Type: Signal
myAvatarSendRateChanged() → {Signal}
Triggered when the value of the myAvatarSendRate property changes.
Returns:
Type: Signal
notUpdatedAvatarCountChanged() → {Signal}
Triggered when the value of the notUpdatedAvatarCount property changes.
Returns:
Type: Signal
numPhysicsBodiesChanged() → {Signal}
Trigered when
Returns:
Type: Signal
opacityChanged() → {Signal}
Triggered when the value of the opacity property changes.
Returns:
Type: Signal
packetInCountChanged() → {Signal}
Triggered when the value of the packetInCount property changes.
Returns:
Type: Signal
packetOutCountChanged() → {Signal}
Triggered when the value of the packetOutCount property changes.
Returns:
Type: Signal
packetStatsChanged() → {Signal}
Triggered when the value of the packetStats property changes.
Returns:
Type: Signal
parabolaPicksCountChanged() → {Signal}
Triggered when the value of the parabolaPicksCount property changes.
Returns:
Type: Signal
parabolaPicksUpdatedChanged() → {Signal}
Triggered when the value of the parabolaPicksUpdated property changes.
Returns:
Type: Signal
parentChanged(parent) → {Signal}
Triggered when the parent item changes.
Parameters:
Name Type Description
parent object
Returns:
Type: Signal
positionChanged() → {Signal}
Triggered when the value of the position property changes.
Returns:
Type: Signal
presentdroprateChanged() → {Signal}
Triggered when the value of the presentdroprate property changes.
Returns:
Type: Signal
presentnewrateChanged() → {Signal}
Triggered when the value of the presentnewrate property changes.
Returns:
Type: Signal
presentrateChanged() → {Signal}
Triggered when the value of the presentrate property changes.
Returns:
Type: Signal
processingChanged() → {Signal}
Triggered when the value of the processing property changes.
Returns:
Type: Signal
processingPendingChanged() → {Signal}
Triggered when the value of the processingPending property changes.
Returns:
Type: Signal
qmlTextureMemoryChanged() → {Signal}
Triggered when the value of the qmlTextureMemory property changes.
Returns:
Type: Signal
rayPicksCountChanged() → {Signal}
Triggered when the value of the rayPicksCount property changes.
Returns:
Type: Signal
rayPicksUpdatedChanged() → {Signal}
Triggered when the value of the rayPicksUpdated property changes.
Returns:
Type: Signal
rectifiedTextureCountChanged() → {Signal}
Triggered when the value of the rectifiedTextureCount property changes.
Returns:
Type: Signal
renderrateChanged() → {Signal}
Triggered when the value of the renderrate property changes.
Returns:
Type: Signal
rotationChanged() → {Signal}
Triggered when the value of the rotation property changes.
Returns:
Type: Signal
scaleChanged() → {Signal}
Triggered when the value of the scaleChanged property changes.
Returns:
Type: Signal
sendingModeChanged() → {Signal}
Triggered when the value of the sendingMode property changes.
Returns:
Type: Signal
serverCountChanged() → {Signal}
Triggered when the value of the serverCount property changes.
Returns:
Type: Signal
serverElementsChanged() → {Signal}
Triggered when the value of the serverElements property changes.
Returns:
Type: Signal
serverInternalChanged() → {Signal}
Triggered when the value of the serverInternal property changes.
Returns:
Type: Signal
serverLeavesChanged() → {Signal}
Triggered when the value of the serverLeaves property changes.
Returns:
Type: Signal
shadowConsideredChanged() → {Signal}
Triggered when the value of the shadowConsidered property changes.
Returns:
Type: Signal
shadowOutOfViewChanged() → {Signal}
Triggered when the value of the shadowOutOfView property changes.
Returns:
Type: Signal
shadowRenderedChanged() → {Signal}
Triggered when the value of the shadowRendered property changes.
Returns:
Type: Signal
shadowTooSmallChanged() → {Signal}
Triggered when the value of the shadowTooSmall property changes.
Returns:
Type: Signal
smoothChanged(smooth) → {Signal}
Triggered when the value of the smooth property changes.
Parameters:
Name Type Description
smooth boolean
Returns:
Type: Signal
speedChanged() → {Signal}
Triggered when the value of the speed property changes.
Returns:
Type: Signal
stateChanged() → {Signal}
Triggered when the value of the state property changes.
Returns:
Type: Signal
stutterrateChanged() → {Signal}
Triggered when the value of the stutterrate property changes.
Returns:
Type: Signal
stylusPicksCountChanged() → {Signal}
Triggered when the value of the stylusPicksCount property changes.
Returns:
Type: Signal
stylusPicksUpdatedChanged() → {Signal}
Triggered when the value of the stylusPicksUpdated property changes.
Returns:
Type: Signal
texturePendingTransfersChanged() → {Signal}
Triggered when the value of the texturePendingTransfers property changes.
Returns:
Type: Signal
timingExpandedChanged() → {Signal}
Triggered when the value of the timingExpanded property changes.
Returns:
Type: Signal
timingStatsChanged() → {Signal}
Triggered when the value of the timingStats property changes.
Returns:
Type: Signal
transformOriginChanged(transformOrigin) → {Signal}
Triggered when the value of the transformOrigin property changes.
Parameters:
Name Type Description
transformOrigin number
Returns:
Type: Signal
trianglesChanged() → {Signal}
Triggered when the value of the triangles property changes.
Returns:
Type: Signal
updatedAvatarCountChanged() → {Signal}
Triggered when the value of the updatedAvatarCount property changes.
Returns:
Type: Signal
visibleChanged() → {Signal}
Triggered when the value of the visibleChanged property changes.
Returns:
Type: Signal
visibleChildrenChanged() → {Signal}
Triggered when the list of visible children changes.
Returns:
Type: Signal
widthChanged() → {Signal}
Triggered when the value of the width property changes.
Returns:
Type: Signal
windowChanged(window) → {Signal}
Parameters:
Name Type Description
window object
Returns:
Type: Signal
xChanged() → {Signal}
Triggered when the value of the x property changes.
Returns:
Type: Signal
yawChanged() → {Signal}
Triggered when the value of the yaw property changes.
Returns:
Type: Signal
yChanged() → {Signal}
Triggered when the value of the y property changes.
Returns:
Type: Signal
zChanged() → {Signal}
Triggered when the value of the z property changes.
Returns:
Type: Signal