SpecsInteractionModule.CursorVisualMode
EnumCursor visual treatment.
- Snapchat: not supported
- SPECS: fully supported
- Camera Kit Web: not supported
- Camera Kit Mobile: not supported
- SnapchatNot supported — Available on SPECS only
- SPECSFully supported
- Camera Kit WebNot supported — Available on SPECS only
- Camera Kit MobileNot supported — Available on SPECS only
Since Lens Scripting v375
Cursor visual treatment. Names the manipulation in progress so the cursor can show matching translate, scale, or rotation artwork.
Index
Enumeration Members
Example
const cursorState = new SpecsInteractionModule.CursorVisualState();
cursorState.mode = SpecsInteractionModule.CursorVisualMode.Translate;
interactor.setCursorVisualState(cursorState);
Enumeration Members
Auto
Auto:
number
SPECS
Default procedural ring cursor.
Since
Lens Scripting Version 375
RotateClockwise
RotateClockwise:
number
SPECS
Paired curved clockwise rotation arrows.
Since
Lens Scripting Version 387
RotateCounterClockwise
RotateCounterClockwise:
number
SPECS
Paired curved counterclockwise rotation arrows.
Since
Lens Scripting Version 387
ScaleBottomLeft
ScaleBottomLeft:
number
SPECS
Diagonal scale arrows for the bottom-left corner.
Since
Lens Scripting Version 375
ScaleBottomRight
ScaleBottomRight:
number
SPECS
Diagonal scale arrows for the bottom-right corner.
Since
Lens Scripting Version 375
ScaleTopLeft
ScaleTopLeft:
number
SPECS
Diagonal scale arrows for the top-left corner.
Since
Lens Scripting Version 375
ScaleTopRight
ScaleTopRight:
number
SPECS
Diagonal scale arrows for the top-right corner.
Since
Lens Scripting Version 375
Translate
Translate:
number
SPECS
Four-way translate arrows.
Since
Lens Scripting Version 375
TranslateHorizontal
TranslateHorizontal:
number
SPECS
Horizontal translate arrows.
Since
Lens Scripting Version 387
TranslateVertical
TranslateVertical:
number
SPECS
Vertical translate arrows.
Since
Lens Scripting Version 387