Skip to content

Home > @unseenco/backstage-threejs > configureBackstageThreejs

configureBackstageThreejs() function

Sets project-wide defaults for @unseenco/backstage/threejs auto-add helpers.

Signature:

typescript
export declare function configureBackstageThreejs(config: BackstageThreejsConfig): {
    reset: () => void;
};

Parameters

ParameterTypeDescription
configBackstageThreejsConfigConfiguration to apply until resetBackstageThreejsConfig() or reset() from the return value

Returns:

{ reset: () => void; }

Object with reset() restoring the previous config