@awayjs/graphics
Version:
AwayJS graphics classes
27 lines (23 loc) • 878 B
text/typescript
import { ElementsBase } from '@awayjs/renderer';
import { IAnimationState } from './IAnimationState';
/**
* Provides an interface for animation node classes that hold animation data for use in the Vertex animator class.
*
* @see away.animators.VertexAnimator
*/
export interface IVertexAnimationState extends IAnimationState
{
/**
* Returns the current geometry frame of animation in the clip based on the internal playhead position.
*/
currentElements: ElementsBase; //GET
/**
* Returns the current geometry frame of animation in the clip based on the internal playhead position.
*/
nextElements: ElementsBase; //GET
/**
* Returns a fractional value between 0 and 1 representing the blending ratio of the current playhead position
* between the current geometry frame (0) and next geometry frame (1) of the animation.
*/
blendWeight: number; //GET
}