ParamVector interface
Live view of a tuple param.
import type { ParamVector } from '@dioramajs/diorama/effects'Each component can be tweened.
interface ParamVectorMembers
| Name | Type | Description |
|---|---|---|
readonly length | 2 | 3 | 4 | Number of components. |
w? | number | vec4 only. |
x | number | First component. |
y | number | Second component. |
z? | number | vec3 and vec4 only. |
[iterator] | | Iterates the components, so |
Also exported from @dioramajs/effects.
Defined in packages/effects/src/types.ts.