---
Product: Aspose.3D
Platform: java
Page Type: reference
Canonical URL: https://reference.aspose.org/3d/java/PbrSpecularMaterial
---

# PbrSpecularMaterial

## Overview

`PbrSpecularMaterial` is a class in Aspose.3D FOSS for Java.
Inherits from: `Material`.

Material for physically based rendering based on diffuse color/specular/glossiness
 /

This class provides 31 methods for working with PbrSpecularMaterial objects in Java programs.
Available methods include: `A3DObject`, `PbrSpecularMaterial`, `findProperty`, `getDiffuse`, `getDiffuseTexture`, `getEmissiveColor`, `getEmissiveTexture`, `getGlossinessFactor`, `getName`, `getNormalTexture`, `getProperties`, `getProperty`, and 19 additional methods.
All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package.
Properties: `MAP_AMBIENT`, `MAP_DIFFUSE`, `MAP_EMISSIVE`, `MAP_NORMAL`, `MAP_SPECULAR`, `MAP_SPECULAR_GLOSSINESS`, and 11 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `transparency` | `double` | Read | Gets the transparency factor. |
| `normalTexture` | `TextureBase` | Read | Gets the texture of normal mapping
 @return the texture of normal mapping
 / |
| `specularGlossinessTexture` | `TextureBase` | Read | Gets the texture for specular color, channel RGB stores the specular color and channel A stores the glossiness. |
| `glossinessFactor` | `double` | Read | Gets the glossiness(smoothness) of the material, 1 means perfectly smooth and 0 means perfectly rough, default value is 1, range is [0, 1]
 @return the glossiness(smoothness) of the material, 1 means |
| `specular` | `Vector3` | Read | Gets the specular color of the material, default value is (1, 1, 1). |
| `diffuseTexture` | `TextureBase` | Read | Gets the texture for diffuse
 @return the texture for diffuse
 / |
| `diffuse` | `Vector3` | Read | Gets the diffuse color of the material, default value is (1, 1, 1)
 @return the diffuse color of the material, default value is (1, 1, 1)
 / |
| `emissiveTexture` | `TextureBase` | Read | Gets the texture for emissive
 @return the texture for emissive
 / |
| `emissiveColor` | `Vector3` | Read | Gets the emissive color, default value is (0, 0, 0)
 @return the emissive color, default value is (0, 0, 0)
 / |
| `MAP_SPECULAR_GLOSSINESS` | `String` | Read | The texture map for specular glossiness
 / |
| `MAP_SPECULAR` | `String` | Read | Used in setTexture(java.lang.String, com.aspose.threed.TextureBase) to assign a specular texture mapping. |
| `MAP_DIFFUSE` | `String` | Read | Used in setTexture(java.lang.String, com.aspose.threed.TextureBase) to assign a diffuse texture mapping. |
| `MAP_EMISSIVE` | `String` | Read | Used in setTexture(java.lang.String, com.aspose.threed.TextureBase) to assign a emissive texture mapping. |
| `MAP_AMBIENT` | `String` | Read | Used in setTexture(java.lang.String, com.aspose.threed.TextureBase) to assign a ambient texture mapping. |
| `MAP_NORMAL` | `String` | Read | Used in setTexture(java.lang.String, com.aspose.threed.TextureBase) to assign a normal texture mapping. |
| `name` | `String` | Read | Gets the name. |
| `properties` | `PropertyCollection` | Read | Gets the properties. |

## Methods

| Signature | Description |
|-----------|-------------|
| `PbrSpecularMaterial()` | Constructor of the PbrSpecularMaterial
 / |
| `getTransparency()` → `double` | **Not implemented in the FOSS edition — throws at runtime.** Gets the transparency factor. |
| `setTransparency(value: double)` | **Not implemented in the FOSS edition — throws at runtime.** Sets the transparency factor. |
| `getNormalTexture()` → `TextureBase` | **Not implemented in the FOSS edition — throws at runtime.** Gets the texture of normal mapping
 @return the texture of normal mapping
 / |
| `setNormalTexture(value: TextureBase)` | **Not implemented in the FOSS edition — throws at runtime.** Sets the texture of normal mapping
 @param value New value
 / |
| `getSpecularGlossinessTexture()` → `TextureBase` | **Not implemented in the FOSS edition — throws at runtime.** Gets the texture for specular color, channel RGB stores the specular color and channel A stores the glossiness. |
| `setSpecularGlossinessTexture(value: TextureBase)` | **Not implemented in the FOSS edition — throws at runtime.** Sets the texture for specular color, channel RGB stores the specular color and channel A stores the glossiness. |
| `getGlossinessFactor()` → `double` | **Not implemented in the FOSS edition — throws at runtime.** Gets the glossiness(smoothness) of the material, 1 means perfectly smooth and 0 means perfectly rough, default value is 1, range is [0, 1]
 @return the glossiness(smoothness) of the material, 1 means |
| `setGlossinessFactor(value: double)` | **Not implemented in the FOSS edition — throws at runtime.** Sets the glossiness(smoothness) of the material, 1 means perfectly smooth and 0 means perfectly rough, default value is 1, range is [0, 1]
 @param value New value
 / |
| `getSpecular()` → `Vector3` | **Not implemented in the FOSS edition — throws at runtime.** Gets the specular color of the material, default value is (1, 1, 1). |
| `setSpecular(value: Vector3)` | **Not implemented in the FOSS edition — throws at runtime.** Sets the specular color of the material, default value is (1, 1, 1). |
| `getDiffuseTexture()` → `TextureBase` | **Not implemented in the FOSS edition — throws at runtime.** Gets the texture for diffuse
 @return the texture for diffuse
 / |
| `setDiffuseTexture(value: TextureBase)` | **Not implemented in the FOSS edition — throws at runtime.** Sets the texture for diffuse
 @param value New value
 / |
| `getDiffuse()` → `Vector3` | **Not implemented in the FOSS edition — throws at runtime.** Gets the diffuse color of the material, default value is (1, 1, 1)
 @return the diffuse color of the material, default value is (1, 1, 1)
 / |
| `setDiffuse(value: Vector3)` | **Not implemented in the FOSS edition — throws at runtime.** Sets the diffuse color of the material, default value is (1, 1, 1)
 @param value New value
 / |
| `getEmissiveTexture()` → `TextureBase` | **Not implemented in the FOSS edition — throws at runtime.** Gets the texture for emissive
 @return the texture for emissive
 / |
| `setEmissiveTexture(value: TextureBase)` | **Not implemented in the FOSS edition — throws at runtime.** Sets the texture for emissive
 @param value New value
 / |
| `getEmissiveColor()` → `Vector3` | **Not implemented in the FOSS edition — throws at runtime.** Gets the emissive color, default value is (0, 0, 0)
 @return the emissive color, default value is (0, 0, 0)
 / |
| `setEmissiveColor(value: Vector3)` | **Not implemented in the FOSS edition — throws at runtime.** Sets the emissive color, default value is (0, 0, 0)
 @param value New value
 / |
| `getTexture(slotName: String)` → `TextureBase` | Gets the texture from the specified slot, it can be material's property name or shader's parameter name. |
| `setTexture(slotName: String, texture: TextureBase)` | Sets the texture to specified slot. |
| `toString()` → `String` | Formats object to string. |
| `iterator()` → `Iterator` | Gets the enumerator to enumerate internal texture slots. |
| `A3DObject()` | Parameterized Cylinder. It can also be used to represent a cone when one of radiusTop/radiusBottom is zero. |
| `getName()` → `String` | The segments of the curve. |
| `setName(name: String)` | Constructs a CircleShape profile with specified radius. |
| `getProperties()` → `PropertyCollection` | Initializes a new instance of Cylinder class. |
| `findProperty(name: String)` → `Property` | Initializes a new instance of the Bone class. |
| `getProperty(name: String)` → `Object` | Gets the transform matrix of the node in current pose. |
| `setProperty(name: String, value: Object)` | Gets the width segments. |
| `removeProperty(name: String)` → `boolean` | Gets flip coordinate system of control points/normal during importing/exporting. |

## See Also

- [Aspose.3D — Enterprise API Reference](https://reference.aspose.com/3d/)