VideoRecorder.Options
ClassConfiguration options for VideoRecorder.
- Available on all platforms
Since Lens Scripting v320
Index
Properties
Methods
Constructors
Constructor
new Options(
sourceTexture):Options
Parameters
| Parameter | Type |
|---|---|
sourceTexture | Texture |
Returns
Options
Properties
saveThumbnail
saveThumbnail:
boolean
Whether to also save the first recorded frame as a still image to use as a placeholder when the VideoTextureProvider is not playing.
Since
Lens Scripting Version 320
Default Value
true
sourceTexture
readonlysourceTexture:Texture
Read back the Texture used to construct the Options.
Since
Lens Scripting Version 320
textureScale
textureScale:
number
A scalar on the resolution of the input Texture to the video. Can be used to scale down a large Texture during recording to avoid extra overhead.
Since
Lens Scripting Version 320
Default Value
1
Methods
getTypeName()
staticgetTypeName():TypeName<Options>
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<Options>
Since
Lens Scripting Version 320