Lens Scripting API
Editor Scripting API
Guide Docs
Preparing search index...
Built-In
TensorMath
fillPoly
Function fillPoly
fillPoly
(
imgTensor
:
Float32Array
,
imgShape
:
vec3
,
polygonsTensors
:
Int32Array
[]
,
color
:
vec4
,
lineType
:
number
,
shift
:
number
,
offset
:
vec2
,
)
:
void
Fills a polygon. Note that you should pass an Array of Int32Array-s (polygonsTensors).
Parameters
imgTensor
:
Float32Array
imgShape
:
vec3
polygonsTensors
:
Int32Array
[]
color
:
vec4
lineType
:
number
shift
:
number
offset
:
vec2
Returns
void
Settings
Member Visibility
Inherited
Deprecated
Theme
OS
Light
Dark
Editor Scripting API
Guide Docs
Lens Scripting API
Loading...
Fills a polygon. Note that you should pass an Array of Int32Array-s (polygonsTensors).