public class ImageMaterialGraphics extends Object
| Constructor and Description | 
|---|
ImageMaterialGraphics()
Initializes a new instance. 
 | 
ImageMaterialGraphics(CesiumProperty<CesiumResource> image)
Initializes a new instance with the specified image. 
 | 
ImageMaterialGraphics(CesiumResource image)
Initializes a new instance with the specified image. 
 | 
| 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<Color> | 
getColor()
Gets the color of the image. 
 | 
CesiumProperty<CesiumResource> | 
getImage()
Gets the image to display on the surface. 
 | 
CesiumProperty<Rectangular> | 
getRepeat()
Gets the number of times the image repeats along each axis. 
 | 
CesiumProperty<Boolean> | 
getTransparent()
Gets whether or not the image has transparency. 
 | 
void | 
setColor(CesiumProperty<Color> value)
Sets the color of the image. 
 | 
void | 
setImage(CesiumProperty<CesiumResource> value)
Sets the image to display on the surface. 
 | 
void | 
setRepeat(CesiumProperty<Rectangular> value)
Sets the number of times the image repeats along each axis. 
 | 
void | 
setTransparent(CesiumProperty<Boolean> value)
Sets whether or not the image has transparency. 
 | 
public ImageMaterialGraphics()
public ImageMaterialGraphics(CesiumProperty<CesiumResource> image)
image - The image.public ImageMaterialGraphics(CesiumResource image)
image - The image.public final CesiumProperty<CesiumResource> getImage()
public final void setImage(CesiumProperty<CesiumResource> value)
public final CesiumProperty<Rectangular> getRepeat()
public final void setRepeat(CesiumProperty<Rectangular> value)
public final CesiumProperty<Color> getColor()
White (get).public final void setColor(CesiumProperty<Color> value)
White (get).public final CesiumProperty<Boolean> getTransparent()
false.public final void setTransparent(CesiumProperty<Boolean> value)
false.public final void createGenerators(IContainerCesiumGenerator parent, CesiumGeneratorContext context, IServiceProvider owner, MaterialCesiumWriter writer)
public final void createGenerators(IContainerCesiumGenerator parent, CesiumGeneratorContext context, IServiceProvider owner, PolylineMaterialCesiumWriter writer)