StretchPoint
ClassA point in the FaceStretchVisual feature.
- Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.
Since Lens Scripting v193
Index
Properties
Methods
Properties
delta
delta:
vec3
The direction in which the stretch should occur.
Since
Lens Scripting Version 193
Default Value
(0, 0, 0)
index
readonlyindex:number
The index of the stretch point
Since
Lens Scripting Version 193
weight
weight:
number
The strength of the stretch effect.
Since
Lens Scripting Version 193
Default Value
0
Methods
getTypeName()
staticgetTypeName():TypeName<StretchPoint>
Returns the fully-qualified JavaScript type name for this class (for example, "Component.Camera"). This is a static accessor (no instance required) and returns the same value as the instance getTypeName().
Returns
TypeName<StretchPoint>
Since
Lens Scripting Version 193