public class MaterialPbrMetallicRoughness extends GlTFProperty
| Constructor and Description |
|---|
MaterialPbrMetallicRoughness() |
| Modifier and Type | Method and Description |
|---|---|
float[] |
defaultBaseColorFactor()
Returns the default value of the baseColorFactor
|
java.lang.Float |
defaultMetallicFactor()
Returns the default value of the metallicFactor
|
java.lang.Float |
defaultRoughnessFactor()
Returns the default value of the roughnessFactor
|
float[] |
getBaseColorFactor()
The factors for the base color of the material.
|
TextureInfo |
getBaseColorTexture()
The base color texture.
|
java.lang.Float |
getMetallicFactor()
The factor for the metalness of the material.
|
TextureInfo |
getMetallicRoughnessTexture()
The metallic-roughness texture.
|
java.lang.Float |
getRoughnessFactor()
The factor for the roughness of the material.
|
void |
setBaseColorFactor(float[] baseColorFactor)
The factors for the base color of the material.
|
void |
setBaseColorTexture(TextureInfo baseColorTexture)
The base color texture.
|
void |
setMetallicFactor(java.lang.Float metallicFactor)
The factor for the metalness of the material.
|
void |
setMetallicRoughnessTexture(TextureInfo metallicRoughnessTexture)
The metallic-roughness texture.
|
void |
setRoughnessFactor(java.lang.Float roughnessFactor)
The factor for the roughness of the material.
|
addExtensions, getExtensions, getExtras, removeExtensions, setExtensions, setExtraspublic void setBaseColorFactor(float[] baseColorFactor)
baseColorFactor - The baseColorFactor to setjava.lang.IllegalArgumentException - If the given value does not meet
the given constraintspublic float[] getBaseColorFactor()
public float[] defaultBaseColorFactor()
getBaseColorFactor()public void setBaseColorTexture(TextureInfo baseColorTexture)
baseColorTexture - The baseColorTexture to setpublic TextureInfo getBaseColorTexture()
public void setMetallicFactor(java.lang.Float metallicFactor)
metallicFactor - The metallicFactor to setjava.lang.IllegalArgumentException - If the given value does not meet
the given constraintspublic java.lang.Float getMetallicFactor()
public java.lang.Float defaultMetallicFactor()
getMetallicFactor()public void setRoughnessFactor(java.lang.Float roughnessFactor)
roughnessFactor - The roughnessFactor to setjava.lang.IllegalArgumentException - If the given value does not meet
the given constraintspublic java.lang.Float getRoughnessFactor()
public java.lang.Float defaultRoughnessFactor()
getRoughnessFactor()public void setMetallicRoughnessTexture(TextureInfo metallicRoughnessTexture)
metallicRoughnessTexture - The metallicRoughnessTexture to setpublic TextureInfo getMetallicRoughnessTexture()
Copyright © 2024. All Rights Reserved.