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

NameTypeAccessDescription
transparencydoubleReadGets the transparency factor.
normalTextureTextureBaseReadGets the texture of normal mapping
@return the texture of normal mapping
/
specularGlossinessTextureTextureBaseReadGets the texture for specular color, channel RGB stores the specular color and channel A stores the glossiness.
glossinessFactordoubleReadGets 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
specularVector3ReadGets the specular color of the material, default value is (1, 1, 1).
diffuseTextureTextureBaseReadGets the texture for diffuse
@return the texture for diffuse
/
diffuseVector3ReadGets 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)
/
emissiveTextureTextureBaseReadGets the texture for emissive
@return the texture for emissive
/
emissiveColorVector3ReadGets the emissive color, default value is (0, 0, 0)
@return the emissive color, default value is (0, 0, 0)
/
MAP_SPECULAR_GLOSSINESSStringReadThe texture map for specular glossiness
/
MAP_SPECULARStringReadUsed in setTexture(java.lang.String, com.aspose.threed.TextureBase) to assign a specular texture mapping.
MAP_DIFFUSEStringReadUsed in setTexture(java.lang.String, com.aspose.threed.TextureBase) to assign a diffuse texture mapping.
MAP_EMISSIVEStringReadUsed in setTexture(java.lang.String, com.aspose.threed.TextureBase) to assign a emissive texture mapping.
MAP_AMBIENTStringReadUsed in setTexture(java.lang.String, com.aspose.threed.TextureBase) to assign a ambient texture mapping.
MAP_NORMALStringReadUsed in setTexture(java.lang.String, com.aspose.threed.TextureBase) to assign a normal texture mapping.
nameStringReadGets the name.
propertiesPropertyCollectionReadGets the properties.

Methods

SignatureDescription
PbrSpecularMaterial()Constructor of the PbrSpecularMaterial
/
getTransparency()doubleNot 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()TextureBaseNot 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()TextureBaseNot 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()doubleNot 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()Vector3Not 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()TextureBaseNot 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()Vector3Not 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()TextureBaseNot 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()Vector3Not 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)TextureBaseGets 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()StringFormats object to string.
iterator()Iterator<TextureSlot>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()StringThe segments of the curve.
setName(name: String)Constructs a CircleShape profile with specified radius.
getProperties()PropertyCollectionInitializes a new instance of Cylinder class.
findProperty(name: String)PropertyInitializes a new instance of the Bone class.
getProperty(name: String)ObjectGets the transform matrix of the node in current pose.
setProperty(name: String, value: Object)Gets the width segments.
removeProperty(name: String)booleanGets flip coordinate system of control points/normal during importing/exporting.

See Also

 English