@babylonjs/core
Version:
Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.
30 lines (29 loc) • 826 B
TypeScript
/**
* Represents the range of an animation
*/
export declare class AnimationRange {
/**The name of the animation range**/
name: string;
/**The starting frame of the animation */
from: number;
/**The ending frame of the animation*/
to: number;
/**
* Initializes the range of an animation
* @param name The name of the animation range
* @param from The starting frame of the animation
* @param to The ending frame of the animation
*/
constructor(
/**The name of the animation range**/
name: string,
/**The starting frame of the animation */
from: number,
/**The ending frame of the animation*/
to: number);
/**
* Makes a copy of the animation range
* @returns A copy of the animation range
*/
clone(): AnimationRange;
}