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

NameTypeAccessDescription
albedoVector4ReadGets the albedo.
metallicFactordoubleReadGets the metallic factor.
roughnessFactordoubleReadGets the roughness factor.
emissiveColorVector3ReadGets the emissive color.
transparencydoubleReadGets the transparency.

Methods

SignatureDescription
PbrMaterial()Creates a new PbrMaterial with name and albedo color
PbrMaterial(name: String)
PbrMaterial(name: String, albedo: Vector4)
getAlbedo()Vector4Returns the albedo.
setAlbedo(value: Vector4)Sets the albedo value.
getMetallicFactor()doubleReturns the metallic factor.
setMetallicFactor(value: double)Sets the metallic factor value.
getRoughnessFactor()doubleReturns the roughness factor.
setRoughnessFactor(value: double)Sets the roughness factor value.
getEmissiveColor()Vector3Returns the emissive color.
setEmissiveColor(value: Vector3)Sets the emissive color value.
getTransparency()doubleReturns the transparency.
setTransparency(value: double)Sets the transparency value.
fromMaterial(material: Material)PbrMaterialCreates a PbrMaterial from an existing Material instance

See Also