@JsType(isNative=true,
        namespace="Cesium",
        name="MaterialAppearance")
public class MaterialAppearance
extends Appearance
| Modifier and Type | Class and Description | 
|---|---|
class  | 
MaterialAppearance.MaterialSupport  | 
material, translucent| Constructor and Description | 
|---|
MaterialAppearance()
An appearance for arbitrary geometry (as opposed to  
EllipsoidSurfaceAppearance, for example) that supports shading with materials. | 
MaterialAppearance(MaterialAppearanceOptions options)
An appearance for arbitrary geometry (as opposed to  
EllipsoidSurfaceAppearance, for example) that supports shading with materials. | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
faceForward()
When true, the fragment shader flips the surface normal as needed to ensure that the normal
 faces the viewer to avoid dark spots. 
 | 
boolean | 
flat()
When true, flat shading is used in the fragment shader, which means lighting is not taking into account. 
 | 
MaterialAppearance.MaterialSupport | 
materialSupport()
The type of materials supported by this instance. 
 | 
VertexFormat | 
vertexFormat()
The VertexFormat that this appearance instance is compatible with. 
 | 
closed, fragmentShaderSource, getFragmentShaderSource, getRenderState, isTranslucent, renderState, vertexShaderSource@JsConstructor public MaterialAppearance()
EllipsoidSurfaceAppearance, for example) that supports shading with materials.@JsConstructor public MaterialAppearance(MaterialAppearanceOptions options)
EllipsoidSurfaceAppearance, for example) that supports shading with materials.options - MaterialAppearanceOptions@JsProperty(name="faceForward") public boolean faceForward()
@JsProperty(name="flat") public boolean flat()
@JsProperty(name="materialSupport") public MaterialAppearance.MaterialSupport materialSupport()
@JsProperty(name="vertexFormat") public VertexFormat vertexFormat()
Copyright © 2019. All rights reserved.