Foundry Virtual Tabletop - API Documentation - Version 14
    Preparing search index...

    Interface ParticleGeneratorRotationOptions

    interface ParticleGeneratorRotationOptions {
        alignVelocity?: boolean;
        initial?: number;
        speed?: ParticleGeneratorRange;
        spread?: number;
    }
    Index

    Properties

    alignVelocity?: boolean

    Align initial rotation to the particle's velocity direction.

    initial?: number

    Fixed rotation offset in radians, additive to the base.

    Rotation speed over the particle lifetime. Initially specified in degrees-per-second, internally managed in radians-per-second.

    spread?: number

    Symmetric random spread in radians around the base+initial. 0 means no randomization; Math.PI gives full-circle random.