ViewportQuad
external class ViewportQuad(var rectangle: BoundingRectangle = definedExternally, var material: Material = definedExternally)(source)
A viewport aligned quad.
const viewportQuad = new ViewportQuad(new BoundingRectangle(0, 0, 80, 40));
viewportQuad.material.uniforms.color = new Color(1.0, 0.0, 0.0, 1.0);
Content copied to clipboard
See also
Constructors
Link copied to clipboard
constructor(rectangle: BoundingRectangle = definedExternally, material: Material = definedExternally)
Properties
Functions
Link copied to clipboard
Returns true if this object was destroyed; otherwise, false.
Link copied to clipboard
Called when Viewer or CesiumWidget render the scene to get the draw commands needed to render this primitive.