Full API List
Find every Lens Studio class in the Full API List below. Explore different types in the Classes folder in the sidebar.
BodyTrackingAsset
handTrackingEnabled
Head
Hips
LeftArm
LeftFoot
LeftForeArm
LeftHand
LeftHandIndex1
LeftHandIndex2
LeftHandIndex3
LeftHandMiddle1
LeftHandMiddle2
LeftHandMiddle3
LeftHandPinky1
LeftHandPinky2
LeftHandPinky3
LeftHandRing1
LeftHandRing2
LeftHandRing3
LeftHandThumb1
LeftHandThumb2
LeftHandThumb3
LeftLeg
LeftShoulder
LeftToeBase
LeftUpLeg
Neck
RightArm
RightFoot
RightForeArm
RightHand
RightHandIndex1
RightHandIndex2
RightHandIndex3
RightHandMiddle1
RightHandMiddle2
RightHandMiddle3
RightHandPinky1
RightHandPinky2
RightHandPinky3
RightHandRing1
RightHandRing2
RightHandRing3
RightHandThumb1
RightHandThumb2
RightHandThumb3
RightLeg
RightShoulder
RightToeBase
RightUpLeg
Spine
Spine1
Spine2
Camera
addRenderLayer()
checkRenderLayer()
getAllRenderLayers()
getOrthographicSize()
isSphereVisible()
project()
removeRenderLayer()
screenSpaceToWorldSpace()
unproject()
worldSpaceToScreenSpace()
createColorRenderTarget()
createDepthStencilRenderTarget()
depthStencilRenderTargetSupported()
getSupportedColorRenderTargetCount()
aspect
clearColor
colorRenderTargets
depthBufferMode
depthStencilRenderTarget
devicePropertyUsage
enableClearColor
enableClearDepth
far
fov
inputTexture
isPhysical
maskTexture
near
rayTracing
renderLayer
renderOrder
renderTarget
renderTargetCubemapFace
size
supportedColorRenderTargetCount
type
ClothVisual
addCollider()
clearColliders()
getAllColors()
getPointColorByIndex()
getPointIndicesByColor()
getPointIndicesByMask()
getVertexBinding()
getVertexSettings()
isHardwareSupported()
isInitialized()
removeColliderByIndex()
resetSimulation()
setVertexBinding()
setVertexSettings()
createVertexSettings()
bendMode
bendStiffness
bendStiffnessVertexWeight
colliders
externalBodyMeshWeight
friction
frictionVertexWeight
gravity
iterationsPerStep
mass
massVertexWeight
maxAcceleration
mergeCloseVerticesEnabled
mergeCloseVerticesThreshold
mesh
onInitialized
repulsionEnabled
repulsionFriction
repulsionOffset
repulsionStiffness
simulatedMesh
stretchStiffness
stretchStiffnessVertexWeight
updateNormalsEnabled
DeviceTracking
calculateWorldMeshHistogram()
createTrackedWorldPoint()
getActualDeviceTrackingMode()
getDevicePath()
getDevicePathIndex()
getPointCloud()
getRequestedDeviceTrackingMode()
hitTestWorldMesh()
isDeviceTrackingModeSupported()
raycastWorldMesh()
requestDeviceTrackingMode()
resetTracking()
setWorldOriginOffset()
rotationOptions
surfaceOptions
surfaceTrackingTarget
worldOptions
worldTrackingCapabilities
Expressions
BrowsDownLeft
BrowsDownRight
BrowsUpCenter
BrowsUpLeft
BrowsUpRight
CheekSquintLeft
CheekSquintRight
EyeBlinkLeft
EyeBlinkRight
EyeDownLeft
EyeDownRight
EyeInLeft
EyeInRight
EyeOpenLeft
EyeOpenRight
EyeOutLeft
EyeOutRight
EyeSquintLeft
EyeSquintRight
EyeUpLeft
EyeUpRight
JawForward
JawLeft
JawOpen
JawRight
LipsFunnel
LipsPucker
LowerLipClose
LowerLipDownLeft
LowerLipDownRight
LowerLipRaise
MouthClose
MouthDimpleLeft
MouthDimpleRight
MouthFrownLeft
MouthFrownRight
MouthLeft
MouthRight
MouthSmileLeft
MouthSmileRight
MouthStretchLeft
MouthStretchRight
MouthUpLeft
MouthUpRight
Puff
SneerLeft
SneerRight
UpperLipClose
UpperLipRaise
UpperLipUpLeft
UpperLipUpRight
GeneralDataStore
clear()
getAllKeys()
getBool()
getBoolArray()
getDouble()
getFloat()
getFloat32Array()
getFloat64Array()
getFloatArray()
getInt()
getInt16Array()
getInt32Array()
getInt8Array()
getIntArray()
getMat2()
getMat2Array()
getMat3()
getMat3Array()
getMat4()
getMat4Array()
getMaxSizeInBytes()
getQuat()
getQuatArray()
getSizeInBytes()
getString()
getStringArray()
getUint16Array()
getUint32Array()
getUint8Array()
getVec2()
getVec2Array()
getVec3()
getVec3Array()
getVec4()
getVec4Array()
has()
putBool()
putBoolArray()
putDouble()
putFloat()
putFloat32Array()
putFloat64Array()
putFloatArray()
putInt()
putInt16Array()
putInt32Array()
putInt8Array()
putIntArray()
putMat2()
putMat2Array()
putMat3()
putMat3Array()
putMat4()
putMat4Array()
putQuat()
putQuatArray()
putString()
putStringArray()
putUint16Array()
putUint32Array()
putUint8Array()
putVec2()
putVec2Array()
putVec3()
putVec3Array()
putVec4()
putVec4Array()
remove()
create()
onStoreFull
Globals
failAsync()
getDeltaTime()
getRealTimeNanos()
getTime()
isNull()
print()
require()
requireAsset()
requireType()
global.deviceInfoSystem
global.hapticFeedbackSystem
global.launchParams
global.localizationSystem
global.persistentStorageSystem
global.scene
global.textInputSystem
global.touchSystem
global.userContextSystem
HairVisual
addCollider()
clearColliders()
isHardwareSupported()
isInitialized()
removeColliderByIndex()
resetSimulation()
clumpDensity
clumpRadius
clumpTipScale
colliders
collisionEnabled
collisionFriction
collisionOffset
collisionStiffness
damp
density
fallbackHairMaterial
fallbackModeEnabled
friction
gravity
hairMaterial
hairResolution
noise
onInitialized
primaryHairMaterial
selfCollisionEnabled
selfCollisionFriction
selfCollisionRadius
selfCollisionStiffness
stiffness
strandTaper
strandWidth
windEnabled
windForce
LightSource
autoLightSourcePosition
autoShadowFrustumSize
castsShadows
color
diffuseEnvmapTexture
envmapExposure
envmapRotation
gaussianBlurSigma
intensity
renderLayer
shadowBlurRadius
shadowColor
shadowDensity
shadowFrustumFarClipPlane
shadowFrustumNearClipPlane
shadowFrustumSize
specularEnvmapTexture
useEnvmap
LocalizationSystem
getDateAndTimeFormatted()
getDateFormatted()
getDateShortFormatted()
getDayOfWeek()
getFormattedDistanceFromMeters()
getFormattedNumber()
getFormattedSeconds()
getFormattedTemperatureFromCelsius()
getFormattedTemperatureFromFahrenheit()
getLanguage()
getMonth()
getTimeFormatted()
localize()
language
LookAtComponent.AimVectors
XAimYUp
XAimZUp
YAimXUp
YAimZUp
ZAimXUp
ZAimYUp
XAimNegativeYUp
XAimNegativeZUp
YAimNegativeXUp
YAimNegativeZUp
ZAimNegativeXUp
ZAimNegativeYUp
NegativeXAimYUp
NegativeXAimZUp
NegativeYAimXUp
NegativeYAimZUp
NegativeZAimXUp
NegativeZAimYUp
NegativeXAimNegativeYUp
NegativeXAimNegativeZUp
NegativeYAimNegativeXUp
NegativeYAimNegativeZUp
NegativeZAimNegativeXUp
NegativeZAimNegativeYUp
MultiplayerSession
clearRealtimeStoreOwnership()
createRealtimeStore()
deleteRealtimeStore()
deleteStoredValue()
getLocalUserId()
getLocalUserInfo()
getRealtimeStoreInfo()
getServerTimestamp()
getStoredValue()
listStoredValues()
requestRealtimeStoreOwnership()
sendMessage()
sendMessageWithTimeout()
setStoredValue()
activeUserCount
activeUsersInfo
allRealtimeStores
SceneObject
copyComponent()
copySceneObject()
copyWholeHierarchy()
createComponent()
destroy()
getAllComponents()
getChild()
getChildrenCount()
getComponent()
getComponentByIndex()
getComponentCount()
getComponents()
getFirstComponent()
getParent()
getRenderLayer()
getTransform()
hasParent()
removeParent()
setParent()
setParentPreserveWorldTransform()
setRenderLayer()
children
enabled
isEnabledInHiearchy
isEnabledInHierarchy
layer
name
onDisabled
onEnabled
ScreenTransform
containsLocalPoint()
containsScreenPoint()
containsWorldPoint()
isInScreenHierarchy()
localPointToScreenPoint()
localPointToWorldPoint()
screenPointToLocalPoint()
screenPointToParentPoint()
worldPointToLocalPoint()
worldPointToParentPoint()
anchors
enableDebugRendering
offsets
pivot
position
rotation
scale
TensorMath
addScalar()
addTensors()
amplitudeToDb()
applyBoxFilter()
applyNMS()
applyThreshold()
approximatePolygonalCurve()
argMax()
argSort()
argSortMasked()
clamp()
concat()
dilate()
divTensors()
drawLine()
erode()
fillConvexPoly()
fillPoly()
findContours()
findMinDistancesBetween()
getContour()
getRotatedRectPoints()
getVectorsLength()
isInRectangle()
max()
maxDistanceBetweenPoints()
maxInSlideWindow()
min()
minAreaRect()
minInSlideWindow()
mulMatToPoints()
mulScalar()
mulTensors()
opticalFlow()
permute()
polarSort2d()
power()
powerToDb()
projectPoints()
repeat()
rotatePoints3d()
smoothPoints()
softArgMax()
softMax()
solvePnP()
solvePnPExtended()
solvePnPRansac()
subTensors()
subpixelArgMax()
sum()
textureToGrayscale()
Text
backgroundSettings
capitilizationOverride
colorMask
depthTest
dropshadowSettings
editable
font
horizontalOverflow
letterSpacing
lineSpacing
onEditingFinished
onEditingStarted
onEditingUpdated
outlineSettings
showEditingPreview
size
sizeToFit
text
textFill
touchHandler
twoSided
verticalOverflow
worldSpaceRect
Transform
getInvertedWorldTransform()
getLocalPosition()
getLocalRotation()
getLocalScale()
getSceneObject()
getWorldPosition()
getWorldRotation()
getWorldScale()
getWorldTransform()
setLocalPosition()
setLocalRotation()
setLocalScale()
setLocalTransform()
setWorldPosition()
setWorldRotation()
setWorldScale()
setWorldTransform()
back
down
forward
left
right
segmentScaleCompensate
up
UserContextSystem
getAllFriends()
getBestFriends()
getCurrentUser()
getMyAIUser()
getUsersInCurrentContext()
requestAltitudeFormatted()
requestAltitudeInMeters()
requestBirthdate()
requestBirthdateFormatted()
requestCity()
requestDisplayName()
requestTemperatureCelsius()
requestTemperatureFahrenheit()
requestTemperatureFormatted()
requestUsername()
requestWeatherCondition()
requestWeatherLocalized()
mat4
add()
determinant()
div()
equal()
extractEulerAngles()
extractEulerXYZ()
inverse()
mult()
multiplyDirection()
multiplyPoint()
multiplyScalar()
multiplyVector()
sub()
toString()
transpose()
compMult()
compose()
fromColumns()
fromEulerAngles()
fromEulerAnglesYXZ()
fromEulerX()
fromEulerY()
fromEulerZ()
fromRotation()
fromRows()
fromScale()
fromTranslation()
fromYawPitchRoll()
identity()
lookAt()
makeBasis()
orthographic()
outerProduct()
perspective()
zero()
column0
column1
column2
column3
description
vec3
add()
angleTo()
clampLength()
cross()
distance()
distanceSquared()
div()
dot()
equal()
moveTowards()
mult()
normalize()
project()
projectOnPlane()
reflect()
rotateTowards()
scale()
sub()
toString()
uniformScale()
back()
down()
forward()
left()
lerp()
max()
min()
one()
orthonormalize()
randomDirection()
right()
slerp()
up()
zero()
b
g
length
lengthSquared
r
x
y
z
Was this page helpful?