Companion

external object Companion(source)

Properties

Link copied to clipboard
external val AlphaMapType: String

Gets the name of the alpha map material.

Link copied to clipboard

Gets the name of the aspect ramp material.

Link copied to clipboard
external val BumpMapType: String

Gets the name of the bump map material.

Link copied to clipboard
external val CheckerboardType: String

Gets the name of the checkerboard material.

Link copied to clipboard
external val ColorType: String

Gets the name of the color material.

Link copied to clipboard
external var DefaultCubeMapId: String

Gets or sets the default cube map texture uniform value.

Link copied to clipboard
external var DefaultImageId: String

Gets or sets the default texture uniform value.

Link copied to clipboard
external val DiffuseMapType: String

Gets the name of the diffuce map material.

Link copied to clipboard
external val DotType: String

Gets the name of the dot material.

Link copied to clipboard

Gets the name of the elevation band material.

Link copied to clipboard

Gets the name of the elevation contour material.

Link copied to clipboard

Gets the name of the elevation contour material.

Link copied to clipboard
external val EmissionMapType: String

Gets the name of the emmision map material.

Link copied to clipboard
external val FadeType: String

Gets the name of the fade material.

Link copied to clipboard
external val GridType: String

Gets the name of the grid material.

Link copied to clipboard
external val ImageType: String

Gets the name of the image material.

Link copied to clipboard
external val NormalMapType: String

Gets the name of the normal map material.

Link copied to clipboard

Gets the name of the polyline arrow material.

Link copied to clipboard
external val PolylineDashType: String

Gets the name of the polyline glow material.

Link copied to clipboard
external val PolylineGlowType: String

Gets the name of the polyline glow material.

Link copied to clipboard

Gets the name of the polyline outline material.

Link copied to clipboard
external val RimLightingType: String

Gets the name of the rim lighting material.

Link copied to clipboard

Gets the name of the slope ramp material.

Link copied to clipboard
external val SpecularMapType: String

Gets the name of the specular map material.

Link copied to clipboard
external val StripeType: String

Gets the name of the stripe material.

Link copied to clipboard
external val WaterMaskType: String

Gets the name of the water mask material.

Link copied to clipboard
external val WaterType: String

Gets the name of the water material.

Functions

Link copied to clipboard
suspend external fun fromType(type: String, uniforms: JsAny? = definedExternally): Material

Creates a new material using an existing material type and returns a promise that resolves when all of the material's resources have been loaded.

Link copied to clipboard
external fun fromTypeAsync(type: String, uniforms: JsAny? = definedExternally): Promise<Material>
Link copied to clipboard
external fun fromTypeSync(type: String, uniforms: JsAny? = definedExternally): Material

Creates a new material using an existing material type.