The position of the cursor in the panorama tile. Internal API to render the depth cursor. (-1, -1, -1) means no data is available. It should be a valid position in the panorama tiles cartesian coordinate system, scaled by the normalized depth.
The global opacity of the panorama tile.
Display the overlay on the panorama tile.
The color used where overlay values are 0.
The opacity of the overlay on the panorama tile.
Shows the debug overlay on the panorama tile.
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.
Sets the texture for the given panorama resource type.
Static
fromMaps sub-material names to Material objects.
The glsl shader source for this material.
Readonly
tileWhen 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.
The uniforms used by the panorama tile material. These are not intended to be modified directly but rather through the provided properties.
Static
Readonly
AlphaGets the name of the alpha map material.
Static
Readonly
AspectGets the name of the aspect ramp material.
Static
Readonly
BumpGets the name of the bump map material.
Static
Readonly
CheckerboardGets the name of the checkerboard material.
Static
Readonly
ColorGets the name of the color material.
Static
DefaultGets or sets the default cube map texture uniform value.
Static
DefaultGets or sets the default texture uniform value.
Static
Readonly
DiffuseGets the name of the diffuce map material.
Static
Readonly
DotGets the name of the dot material.
Static
Readonly
ElevationGets the name of the elevation band material.
Static
Readonly
ElevationGets the name of the elevation contour material.
Static
Readonly
ElevationGets the name of the elevation contour material.
Static
Readonly
EmissionGets the name of the emmision map material.
Static
Readonly
FadeGets the name of the fade material.
Static
Readonly
GridGets the name of the grid material.
Static
Readonly
ImageGets the name of the image material.
Static
Readonly
NormalGets the name of the normal map material.
Static
Readonly
PolylineGets the name of the polyline arrow material.
Static
Readonly
PolylineGets the name of the polyline glow material.
Static
Readonly
PolylineGets the name of the polyline glow material.
Static
Readonly
PolylineGets the name of the polyline outline material.
Static
Readonly
RimGets the name of the rim lighting material.
Static
Readonly
SlopeGets the name of the slope ramp material.
Static
Readonly
SpecularGets the name of the specular map material.
Static
Readonly
StripeGets the name of the stripe material.
Static
Readonly
WaterGets the name of the water mask material.
Static
Readonly
WaterGets the name of the water material.
The color of the cursor in the panorama tile.