S
S
SparkAR Community Scripting Docs
Search
⌃K
S
S
SparkAR Community Scripting Docs
Search
⌃K
Spark AR Scripting Reference
Audio Analyzer / Energy Meter
Asynchronous API Changes (v85+)
Custom Instructions
AnimationModule
AudioModule
CameraInfoModule
DeepLinkModule
DeviceMotionModule
DiagnosticsModule
FaceGesturesModule
FaceTracking2DModule
FaceTrackingModule
FontsModule
HandTrackingModule
InstructionModule
IrisTrackingModule
LightingEstimationModule
LiveStreamingModule
LocaleModule
MaterialsModule
NativeUIModule
NetworkingModule
PatchesModule
PersistenceModule
PersonSegmentationModule
RandomModule
ReactiveModule
SceneModule
ShadersModule
VertexAttribute
SdfVariant
PhysicallyBasedMaterialTextures
GradientType
FacePaintMaterialTextures
DerivativeType
DefaultMaterialTextures
ColorSpace
BuiltinUniform
BlendMode
BlendedMaterialTextures
SvgsModule
TexturesModule
TimeModule
TouchGesturesModule
UnitsModule
Powered By
GitBook
GradientType
The GradientType enum describes the type of the shader gradient.
Values
Value
Description
HORIZONTAL
The gradient will be in horizontal direction.
CIRCULAR
The gradient will radiate outward in a circular direction.
VERTICAL
The gradient will be in vertical direction.
Previous
PhysicallyBasedMaterialTextures
Next
FacePaintMaterialTextures
Last modified
3yr ago