public class GridMaterialGraphics extends Object
Constructor and Description |
---|
GridMaterialGraphics()
Initializes a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
createGenerators(IContainerCesiumGenerator parent,
CesiumGeneratorContext context,
IServiceProvider owner,
MaterialCesiumWriter writer) |
void |
createGenerators(IContainerCesiumGenerator parent,
CesiumGeneratorContext context,
IServiceProvider owner,
PolylineMaterialCesiumWriter writer) |
CesiumProperty<Double> |
getCellAlpha()
|
CesiumProperty<Color> |
getColor()
Gets the color of the grid.
|
CesiumProperty<Rectangular> |
getLineCount()
Gets the number of rows and columns in the grid.
|
CesiumProperty<Rectangular> |
getLineOffset()
Gets the offset of grid lines along each axis, as a percentage from 0 to 1.
|
CesiumProperty<Rectangular> |
getLineThickness()
Gets the thickness of grid lines along each axis, in pixels.
|
void |
setCellAlpha(CesiumProperty<Double> value)
|
void |
setColor(CesiumProperty<Color> value)
Sets the color of the grid.
|
void |
setLineCount(CesiumProperty<Rectangular> value)
Sets the number of rows and columns in the grid.
|
void |
setLineOffset(CesiumProperty<Rectangular> value)
Sets the offset of grid lines along each axis, as a percentage from 0 to 1.
|
void |
setLineThickness(CesiumProperty<Rectangular> value)
Sets the thickness of grid lines along each axis, in pixels.
|
public final CesiumProperty<Color> getColor()
White
(get
).public final void setColor(CesiumProperty<Color> value)
White
(get
).public final CesiumProperty<Double> getCellAlpha()
public final void setCellAlpha(CesiumProperty<Double> value)
public final CesiumProperty<Rectangular> getLineCount()
public final void setLineCount(CesiumProperty<Rectangular> value)
public final CesiumProperty<Rectangular> getLineThickness()
public final void setLineThickness(CesiumProperty<Rectangular> value)
public final CesiumProperty<Rectangular> getLineOffset()
public final void setLineOffset(CesiumProperty<Rectangular> value)
public final void createGenerators(IContainerCesiumGenerator parent, CesiumGeneratorContext context, IServiceProvider owner, MaterialCesiumWriter writer)
public final void createGenerators(IContainerCesiumGenerator parent, CesiumGeneratorContext context, IServiceProvider owner, PolylineMaterialCesiumWriter writer)