The glsl shader source for this material.
When true
or a function that returns true
,
the geometry is expected to appear translucent.
The material type. Can be an existing type or a new type. If no type is specified in fabric, type is a GUID.
Maps uniform names to their values.
Gets the name of the alpha map material.
Gets the name of the aspect ramp material.
Gets the name of the bump map material.
Gets the name of the checkerboard material.
Gets the name of the color material.
Gets or sets the default cube map texture uniform value.
Gets or sets the default texture uniform value.
Gets the name of the diffuce map material.
扩散圈材质
方向箭头材质
Gets the name of the dot material.
Gets the name of the elevation contour material.
Gets the name of the elevation contour material.
Gets the name of the emmision map material.
Gets the name of the fade material.
Gets the name of the grid material.
Gets the name of the image material.
Gets the name of the normal map material.
Gets the name of the polyline arrow material.
动态DashLine
Gets the name of the polyline glow material.
Gets the name of the polyline glow material.
Gets the name of the polyline outline material.
雷达材质
Gets the name of the rim lighting material.
路网材质
Gets the name of the slope ramp material.
Gets the name of the specular map material.
Gets the name of the stripe material.
轨迹线材质
Gets the name of the water material.
Destroys the WebGL resources held by this object. Destroying an object allows for deterministic
release of WebGL resources, instead of relying on the garbage collector to destroy this object.
Once an object is destroyed, it should not be used; calling any function other than
isDestroyed
will result in a DeveloperError exception. Therefore,
assign the return value (undefined
) to the object as done in the example.
Returns true if this object was destroyed; otherwise, false.
If this object was destroyed, it should not be used; calling any function other than
isDestroyed
will result in a DeveloperError exception.
True if this object was destroyed; otherwise, false.
Gets whether or not this material is translucent.
true
if this material is translucent, false
otherwise.
Creates a new material using an existing material type.
Shorthand for: new Material({fabric : {type : type}});
The base material type.
New material object.
Maps sub-material names to Material objects.