Optional
fps?: numberOptional
startFrame?: Constant | RandomBetweenTwoConstantsOptional
tiles?: THREE.Vector2Optional
timeMode?: TimeMode// Basic configuration with default values
textureSheetAnimation: {
tiles: new THREE.Vector2(1.0, 1.0),
timeMode: TimeMode.LIFETIME,
fps: 30.0,
startFrame: 0
};
// Custom configuration
textureSheetAnimation: {
tiles: new THREE.Vector2(4, 4), // 4x4 grid of animation tiles
timeMode: TimeMode.SPEED,
fps: 60.0,
startFrame: { min: 0, max: 15 } // Random start frame between 0 and 15
};
Defines the texture sheet animation settings for particles. Allows configuring the animation frames, timing mode, frames per second, and the starting frame.