The shared value model of the typed vector uniform elements
(<sk-wgsl-vec2/3/4-uniform>): an ordered set of independent animatable
numeric component axes (x/y/z/w), each a plain <number> property
(the sizeX/sizeY/sizeZ idiom — never a compound tuple, so each axis
keeps one wire type and stays var()-eligible).
Base class — has no declarative element of its own; subclasses inherit its members.
Concrete classes declare the thin per-axis accessor pairs (delegating to
_getComponent/_setComponent) and their own static
animatableProperties (per class, statically analyzable). A component
change is always DATA-only: the vector's size and kind are fixed by its
tag, so only name is structural.
Abstract base class — not instantiated directly. Construct one of its concrete subclasses; this class contributes the members below to them.
Inherited from: AbstractWGSLUniformMemberElement, SkenraAnimatable
— see those pages for inherited members.
| Property | Type | Default | Description | Declared by |
|---|---|---|---|---|
name |
string |
"" |
Gets the WGSL identifier this member is addressed by. | AbstractWGSLUniformMemberElement |
sceneread-only |
any |
— | Gets the Scene this animatable belongs to, if any. | SkenraAnimatable |
animationsread-only |
SkenraAnimation[] |
— | Public getter for the animations affecting this target. | SkenraAnimatable |
| Method | Description | Declared by |
|---|---|---|
animate(firstArg: TypedKeyframe<this>[] | TypedPropertyIndexedKeyframes<this> | Record<string, any> | globalThis.Keyframe[] | globalThis.PropertyIndexedKeyframes | null, secondArg?: number | KeyframeAnimationOptions | globalThis.KeyframeAnimationOptions): SkenraAnimation & Animation |
Creates a new SkenraAnimation for this target per Web Animations API. | SkenraAnimatable |
removeAnimation(animation: SkenraAnimation): boolean |
Removes a specific animation from this object. | SkenraAnimatable |
constrain(type: K, config: ConstraintConfigMap[K]): ConstraintReturnMap[K] |
Creates a constraint on this Animatable using a fluent API. | SkenraAnimatable |