PbrMaterial
Overview
PbrMaterial is a class in Aspose.3D FOSS for Java.
Inherits from: Material.
PbrMaterial.PbrMaterial() creates a new PbrMaterial with default values.
This class provides 12 methods for working with PbrMaterial objects in Java programs.
Available methods include: PbrMaterial, fromMaterial, getAlbedo, getEmissiveColor, getMetallicFactor, getRoughnessFactor, getTransparency, setAlbedo, setEmissiveColor, setMetallicFactor, setRoughnessFactor, setTransparency.
All exported members are accessible to any Java application after installing the Aspose.3D FOSS for Java package.
Properties: albedo, emissiveColor, metallicFactor, roughnessFactor, transparency.
Description
PbrMaterial is a class in the Aspose.3D FOSS library for Java that exposes 18 methods and 7 properties for programmatic use. It extends Material, inheriting shared functionality from its parent type.
Core capabilities include: vector4; double; double. These operations enable developers to integrate pbrmaterial functionality directly into Java applications.
The class also provides the albedo property (gets the albedo), the metallicFactor property (gets the metallic factor), the roughnessFactor property (gets the roughness factor).
The class offers 5 constructor overloads, allowing flexible initialization depending on the calling context.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
albedo | Vector4 | Read | Gets the albedo. |
metallicFactor | double | Read | Gets the metallic factor. |
roughnessFactor | double | Read | Gets the roughness factor. |
emissiveColor | Vector3 | Read | Gets the emissive color. |
transparency | double | Read | Gets the transparency. |
Methods
| Signature | Description |
|---|---|
PbrMaterial() | Creates a new PbrMaterial with name and albedo color |
PbrMaterial(name: String) | |
PbrMaterial(name: String, albedo: Vector4) | |
getAlbedo() → Vector4 | Returns the albedo. |
setAlbedo(value: Vector4) | Sets the albedo value. |
getMetallicFactor() → double | Returns the metallic factor. |
setMetallicFactor(value: double) | Sets the metallic factor value. |
getRoughnessFactor() → double | Returns the roughness factor. |
setRoughnessFactor(value: double) | Sets the roughness factor value. |
getEmissiveColor() → Vector3 | Returns the emissive color. |
setEmissiveColor(value: Vector3) | Sets the emissive color value. |
getTransparency() → double | Returns the transparency. |
setTransparency(value: double) | Sets the transparency value. |
fromMaterial(material: Material) → PbrMaterial | Creates a PbrMaterial from an existing Material instance |