babylon.quarks - v1.0.0
    Preparing search index...

    Interface EffectPlacement

    Where EffectPool.acquire puts a copy. Each part left out is the template's own, as the copy was made, so nothing carries over from the copy's previous use.

    interface EffectPlacement {
        parent?: Node | null;
        position?: Vector3;
        rotation?: Vector3;
        rotationQuaternion?: Quaternion;
        scaling?: Vector3;
    }
    Index
    parent?: Node | null

    The node the copy is parented to; none (world space) by default.

    position?: Vector3

    Local position under parent.

    rotation?: Vector3

    Local rotation as Euler angles in radians; ignored when rotationQuaternion is set.

    rotationQuaternion?: Quaternion

    Local rotation as a quaternion, for a direction: a hit normal, a muzzle's facing.

    scaling?: Vector3

    Local scale.