Material (JavaFX 25)
Description: declaration: module: javafx.graphics, package: javafx.scene.paint, class: Material

# Class Material

java.lang.Object
javafx.scene.paint.Material

Direct Known Subclasses:
  `PhongMaterial`

public abstract sealed class Material extends Object permits PhongMaterial
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 Summary

  Constructors
  Modifier
  Constructor
  Description
  `protected`
  `Material()`
  Constructor for subclasses to call.

- ## Method Summary

  ### Methods declared in class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### Material

    protected Material()
    Constructor for subclasses to call.