Editor Scripting API
Guide Docs
Preparing search index...
The search index is not available
Lens Scripting API
Lens Scripting API
Packages/SpectaclesInteractionKit/Utils/SampleOps
Vec2SampleOps
ClassVec2SampleOps
Defines mathematical operations for a vec2 filter sample.
Implements
SampleOps
<
vec2
>
Index
Constructors
constructor
Methods
add
magnitude
sub
uniform
Scale
zero
Constructors
constructor
new
Vec2
Sample
Ops
(
)
:
Vec2SampleOps
Returns
Vec2SampleOps
Methods
add
add
(
first
,
second
)
:
vec2
Parameters
first
:
vec2
second
:
vec2
Returns
vec2
Inherit Doc
magnitude
magnitude
(
of
)
:
number
Parameters
of
:
vec2
Returns
number
Inherit Doc
sub
sub
(
first
,
second
)
:
vec2
Parameters
first
:
vec2
second
:
vec2
Returns
vec2
Inherit Doc
uniform
Scale
uniform
Scale
(
value
,
scale
)
:
vec2
Parameters
value
:
vec2
scale
:
number
Returns
vec2
Inherit Doc
zero
zero
(
)
:
vec2
Returns
vec2
Inherit Doc
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
add
magnitude
sub
uniform
Scale
zero
Editor Scripting API
Guide Docs
Lens Scripting API
Loading...
Defines mathematical operations for a vec2 filter sample.