Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MaterialOptions

The structure of the options to pass into createMaterial.

Hierarchy

  • MaterialOptions

Index

Properties

env

env: Env

Environment used to evaluate dynamic technique attributes.

Usually MapView.env.

Optional fog

fog: undefined | false | true

RawShaderMaterial instances need to know about the fog at instantiation in order to avoid recompiling them manually later (ThreeJS does not update fog for RawShaderMaterials).

Optional shadowsEnabled

shadowsEnabled: undefined | false | true

Whether shadows are enabled or not, this is required because we change the material used.

Optional skipExtraProps

skipExtraProps: string[]

Properties to skip.

see

[[applyTechniqueToMaterial]]

technique

technique: Technique

The shader [[Technique]] to choose.

Generated using TypeDoc