Full API List
Find every Lens Studio class in the Full API List below. Explore different types in the Classes folder in the sidebar.
This is the API for Lens Studio 4. For the latest API documentation, click here.
BodyTrackingAsset
handTrackingEnabled
Hips
Spine
Spine1
Spine2
Neck
Head
LeftShoulder
LeftArm
LeftForeArm
LeftHand
RightShoulder
RightArm
RightForeArm
RightHand
LeftUpLeg
LeftLeg
LeftFoot
LeftToeBase
RightUpLeg
RightLeg
RightFoot
RightToeBase
LeftHandThumb1
LeftHandThumb2
LeftHandThumb3
LeftHandIndex1
LeftHandIndex2
LeftHandIndex3
LeftHandMiddle1
LeftHandMiddle2
LeftHandMiddle3
LeftHandRing1
LeftHandRing2
LeftHandRing3
LeftHandPinky1
LeftHandPinky2
LeftHandPinky3
RightHandThumb1
RightHandThumb2
RightHandThumb3
RightHandIndex1
RightHandIndex2
RightHandIndex3
RightHandMiddle1
RightHandMiddle2
RightHandMiddle3
RightHandRing1
RightHandRing2
RightHandRing3
RightHandPinky1
RightHandPinky2
RightHandPinky3
Camera
getOrthographicSize()
screenSpaceToWorldSpace()
worldSpaceToScreenSpace()
project()
unproject()
isSphereVisible()
removeRenderLayer()
addRenderLayer()
checkRenderLayer()
getAllRenderLayers()
depthStencilRenderTargetSupported()
getSupportedColorRenderTargetCount()
createColorRenderTarget()
createDepthStencilRenderTarget()
near
far
fov
aspect
size
type
depthBufferMode
renderLayer
devicePropertyUsage
colorRenderTargets
depthStencilRenderTarget
renderOrder
maskTexture
inputTexture
renderTarget
enableClearDepth
clearColor
renderTargetCubemapFace
enableClearColor
isPhysical
supportedColorRenderTargetCount
rayTracing
ClothVisual
isHardwareSupported()
isInitialized()
resetSimulation()
clearColliders()
addCollider()
removeColliderByIndex()
getPointIndicesByColor()
getPointIndicesByMask()
getPointColorByIndex()
getAllColors()
setVertexBinding()
getVertexBinding()
getVertexSettings()
setVertexSettings()
createVertexSettings()
onInitialized
colliders
mesh
simulatedMesh
bendMode
gravity
iterationsPerStep
mass
massVertexWeight
stretchStiffness
stretchStiffnessVertexWeight
bendStiffness
bendStiffnessVertexWeight
friction
frictionVertexWeight
repulsionEnabled
repulsionOffset
repulsionStiffness
repulsionFriction
maxAcceleration
updateNormalsEnabled
mergeCloseVerticesEnabled
mergeCloseVerticesThreshold
externalBodyMeshWeight