Preparing search index...
The search index is not available
Lens Studio API [Beta]
Lens Studio API [Beta]
Lens Scripting
Built-In
vec3
randomDirection
Function randomDirection
random
Direction
(
)
:
vec3
Generate random 3D direction vector. This is equivalent to a random point on a unit-radius sphere.
Returns
vec3
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
Lens Studio API [Beta]
Loading...
Generate random 3D direction vector. This is equivalent to a random point on a unit-radius sphere.