Configure Face culling. To enable culling set cullFace to "Front" or "Back", to disable set to false. The used winding order is counter-clock-wise. Face culling is disabled by default.
Sets the emissive color of the "Model"
, giving it a glow effect.
Combination with Material Emissive:
emissive
color value will be combined with Material.emissive through color addition.Specifies the name of the light group to use for illuminating specific features on a layer. This property must reference a key corresponding to a light group defined in LayerStyle.lights. A light group consists of lighting sources such as ambient or directional lights that affect the appearance of features.
If light
is not defined, the default light group "defaultLight"
will be used to illuminate the layer's features.
The Model data that should be rendered. In addition to passing the model directly, a string can also be provided that references a Wavefront OBJ file.
rotate the model by the given vector [radX,radY,radZ]. The order of rotation is x first, then y, followed by z.
Scale the model by the given vector [sx,sy,sz].
Sets the shininess of the "Model"
, determining how glossy its surface appears.
A higher value makes the ``"Model"` surface more reflective.
Combination with Material Shininess:
shininess
value will be combined with Material.shininess through addition.shininess
value controls the size and intensity of the specular highlight, which is colored by the specular property.shininess
property enhances the effect of the specular
color. If specular
is not set, shininess
has no visible effect.shininess
value typically ranges from 0 to 128.Sets the specular color of the "Model"
, affecting how it reflects light.
Combination with Material Specular:
specular
value will be combined with Material.specular through color addition.specular
property determines the color of the light reflection, while the shininess value controls the intensity and size of the reflection.specular
is set and shininess
is not explicitly set, the default shininess value will be used to control the reflection's appearance.Translate the model by the given vector [tx,ty,tz].
Specifies the type of style to render.
Indicates the drawing order within a layer. Styles with larger zIndex value are rendered above those with smaller values. The zIndex is defined relative to the "zLayer" property. If "zLayer" is defined all zIndex values are relative to the "zLayer" value.
Indicates drawing order across multiple layers. Styles using zLayer with a high value are rendered on top of zLayers with a low value. If no zLayer is defined, it will fall back to the LayerStyle.zLayer or depend on the display layer order. The first (lowest) layer has a zLayer value of 1.
Generated using TypeDoc
Interface for configuring the visual appearance of Models. The default orientation is with the Y axis pointing up.