ecspresso
    Preparing search index...

    Interface BoundsComponentTypes

    Component types provided by the bounds plugin. Included automatically via .withPlugin(createBoundsPlugin()).

    const ecs = ECSpresso.create()
    .withPlugin(createTransformPlugin())
    .withPlugin(createBoundsPlugin({ width: 800, height: 600 }))
    .withComponentTypes<{ sprite: Sprite }>()
    .build();
    interface BoundsComponentTypes {
        clampToBounds: ClampToBounds;
        destroyOutOfBounds: DestroyOutOfBounds;
        wrapAtBounds: WrapAtBounds;
    }
    Index

    Properties

    clampToBounds: ClampToBounds
    destroyOutOfBounds: DestroyOutOfBounds
    wrapAtBounds: WrapAtBounds