APIdia Launch Partner
Top Description Fields Constructors Methods
javafx.scene.paint

public abstract sealed Class Material

extends Object
permits PhongMaterial
Class Inheritance
Known Direct Subclasses
javafx.scene.paint.PhongMaterial
Imports
com.sun.javafx.logging.PlatformLogger, com.sun.javafx.scene.paint.MaterialHelper, com.sun.javafx.sg.prism.NGPhongMaterial, javafx.application.ConditionalFeature, .Platform, javafx.beans.property.BooleanProperty, .SimpleBooleanProperty, javafx.scene.shape.Shape3D

Base class for representing the material of a 3D surface. Materials are used to give a realistic appearance to objects (Shape3D), corresponding to physical materials such as fabric, metal, plastic, glass, and wood. Each material defines its interaction with light, for example, its reflective properties, giving it its appearance. Note that this is a conditional feature. See ConditionalFeature.SCENE3D for more information.
Since
JavaFX 8.0

Field Summary

Modifier and TypeField and Description
private final BooleanProperty

Constructor Summary

AccessConstructor and Description
protected
Material()

Constructor for subclasses to call.

Method Summary

Modifier and TypeMethod and Description
pack-priv final BooleanProperty
pack-priv abstract NGPhongMaterial
pack-priv final boolean
pack-priv void
setDirty(boolean value)

pack-priv abstract void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

dirtyback to summary
private final BooleanProperty dirty

Constructor Detail

Materialback to summary
protected Material()

Constructor for subclasses to call.

Method Detail

dirtyPropertyback to summary
pack-priv final BooleanProperty dirtyProperty()
getNGMaterialback to summary
pack-priv abstract NGPhongMaterial getNGMaterial()
isDirtyback to summary
pack-priv final boolean isDirty()
setDirtyback to summary
pack-priv void setDirty(boolean value)
updatePGback to summary
pack-priv abstract void updatePG()