@osbjs/components
Version:
osbjs pre-built components
16 lines (15 loc) • 546 B
TypeScript
import { Vector2 } from '@osbjs/math';
import { Component, Origin, OsbVector2 } from '@osbjs/osbjs';
export declare class Particles extends Component {
name: string;
options: ParticlesOptions;
constructor(osbPath: string, folderPath: string, startTime: number | string, endTime: number | string, options: ParticlesOptions);
}
export interface ParticlesOptions {
scale: number;
origin: Origin;
rotationAngle: number;
additive: boolean;
spawnOrigin: Vector2 | OsbVector2;
particleCount: number;
}