FlatlandConfig
Defined in: packages/three-flatland/src/config/FlatlandConfig.ts:57
Library-wide configuration above rendering and texture-specific defaults.
The system defaults to 'pixel-art', coordinating integer camera scaling,
projected-pivot snapping, and pixel-art texture loading. More-specific
subsystem, class, and instance options can override either branch.
Example
Section titled “Example”FlatlandConfig.options = 'smooth'
// Or customize one branch while retaining the pixel-art system defaults.FlatlandConfig.options = { texture: 'smooth' }Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new FlatlandConfig():
FlatlandConfig
Returns
Section titled “Returns”FlatlandConfig
Accessors
Section titled “Accessors”options
Section titled “options”Get Signature
Section titled “Get Signature”get
staticoptions():FlatlandSetting
Defined in: packages/three-flatland/src/config/FlatlandConfig.ts:60
Returns
Section titled “Returns”Set Signature
Section titled “Set Signature”set
staticoptions(value):void
Defined in: packages/three-flatland/src/config/FlatlandConfig.ts:64
Parameters
Section titled “Parameters”Returns
Section titled “Returns”void
resolved
Section titled “resolved”Get Signature
Section titled “Get Signature”get
staticresolved():Readonly<Required<FlatlandConfigOptions>>
Defined in: packages/three-flatland/src/config/FlatlandConfig.ts:69
Fully resolved library-wide options.
Returns
Section titled “Returns”Readonly<Required<FlatlandConfigOptions>>
Methods
Section titled “Methods”reset()
Section titled “reset()”
staticreset():void
Defined in: packages/three-flatland/src/config/FlatlandConfig.ts:74
Reset the library-wide setting to the coordinated 'pixel-art' preset.
Returns
Section titled “Returns”void