Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface EdgeMaterialParameters

Parameters used when constructing a new EdgeMaterial.

Hierarchy

Index

Properties

Optional color

color: number | string

Edge color.

Optional colorMix

colorMix: undefined | number

Color mix value. Mixes between vertexColors and edgeColor.

Optional displacementMap

displacementMap: THREE.Texture

Texture used for vertex displacement along their normals.

Optional extrusionRatio

extrusionRatio: undefined | number

Ratio of the extruded objects, where 1.0 is the default value

Optional fadeFar

fadeFar: undefined | number

Distance to the camera (range: [0.0, 1.0]) from which the objects are transparent.

Optional fadeNear

fadeNear: undefined | number

Distance to the camera (range: [0.0, 1.0]) from which the objects start fading out.

rendererCapabilities

rendererCapabilities: WebGLCapabilities

Optional vertexColors

vertexColors: undefined | false | true

Defines whether vertex coloring is used.

defaultvalue

false

Optional zFightingWorkaround

zFightingWorkaround: undefined | false | true

Enable z-fighting workaround that doesn't animate buildings with height < <a href="../modules/harp_materials.extrusionfeaturedefs-1.html#min_building_height">ExtrusionFeatureDefs.MIN_BUILDING_HEIGHT</a>.

Should be applied to polygon materials using this feature.

Generated using TypeDoc