Editor Scripting API
Guide Docs
Preparing search index...
The search index is not available
Lens Scripting API
Lens Scripting API
Packages/SpectaclesInteractionKit/Utils/SampleOps
Vec3SampleOps
ClassVec3SampleOps
Defines mathematical operations for a vec3 filter sample.
Implements
SampleOps
<
vec3
>
Index
Constructors
constructor
Methods
add
magnitude
sub
uniform
Scale
zero
Constructors
constructor
new
Vec3
Sample
Ops
(
)
:
Vec3SampleOps
Returns
Vec3SampleOps
Methods
add
add
(
first
,
second
)
:
vec3
Parameters
first
:
vec3
second
:
vec3
Returns
vec3
magnitude
magnitude
(
of
)
:
number
Parameters
of
:
vec3
Returns
number
sub
sub
(
first
,
second
)
:
vec3
Parameters
first
:
vec3
second
:
vec3
Returns
vec3
uniform
Scale
uniform
Scale
(
value
,
scale
)
:
vec3
Parameters
value
:
vec3
scale
:
number
Returns
vec3
zero
zero
(
)
:
vec3
Returns
vec3
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 vec3 filter sample.