Class Material

java.lang.Object
javafx.scene.paint.Material
Direct Known Subclasses:
PhongMaterial

public abstract class Material extends Object
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
  • Constructor Details

    • Material

      protected Material()
      Constructor for subclasses to call.