Package com.luciad.layers.styles
Class MeshStyle
java.lang.Object
com.luciad.layers.styles.MeshStyle
- All Implemented Interfaces:
AutoCloseable
This class contains styling properties to determine how a mesh is painted.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A builder class for creating mesh styles. -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
protected void
finalize()
StyleExpression
<android.graphics.Color> Returns the color expression used to paint the mesh, ornull
if no expression was set.Returns the expression used to displace the mesh, ornull
if no expression was set.Returns the facet culling type used to paint the mesh.Returns the mipmap filtering type used to paint the mesh.Returns the expression used to make (parts of) the mesh visible/invisible, ornull
if no expression was set.static MeshStyle.Builder
Creates a new builder for creating aMeshStyle
.
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
newBuilder
Creates a new builder for creating aMeshStyle
.- Returns:
- a new builder for creating a
MeshStyle
.
-
getColorExpression
Returns the color expression used to paint the mesh, ornull
if no expression was set.- Returns:
- the color expression used to paint the mesh, or
null
if no expression was set. - See Also:
-
getDisplacementExpression
Returns the expression used to displace the mesh, ornull
if no expression was set.- Returns:
- the expression used to displace the mesh, or
null
if no expression was set. - See Also:
-
getVisibilityExpression
Returns the expression used to make (parts of) the mesh visible/invisible, ornull
if no expression was set.- Returns:
- the expression used to make (parts of) the mesh visible/invisible, or
null
if no expression was set. - See Also:
-
getFacetCulling
Returns the facet culling type used to paint the mesh.- Returns:
- the facet culling type used to paint the mesh.
- See Also:
-
getMipmapFiltering
Returns the mipmap filtering type used to paint the mesh.- Returns:
- the mipmap filtering type used to paint the mesh.
- See Also:
-
asBuilder
-