public final class MaterialModelV1 extends AbstractNamedModelElement implements MaterialModel
MaterialModel for glTF 1.0.| Constructor and Description |
|---|
MaterialModelV1()
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
TechniqueModel |
getTechniqueModel()
Returns the
TechniqueModel |
java.util.Map<java.lang.String,java.lang.Object> |
getValues()
Returns the parameter values of this material.
|
void |
setTechniqueModel(TechniqueModel techniqueModel)
Set the
TechniqueModel |
void |
setValues(java.util.Map<java.lang.String,java.lang.Object> values)
Set the material parameter values to be an unmodifiable shallow
copy of the given map (or the empty map if the given map is
null) |
getName, setNameaddExtension, getExtensions, getExtras, removeExtension, setExtensions, setExtrasclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamegetExtensions, getExtraspublic void setValues(java.util.Map<java.lang.String,java.lang.Object> values)
null)values - The material parameter valuespublic void setTechniqueModel(TechniqueModel techniqueModel)
TechniqueModeltechniqueModel - The TechniqueModelpublic TechniqueModel getTechniqueModel()
TechniqueModelTechniqueModelpublic java.util.Map<java.lang.String,java.lang.Object> getValues()
Material is the texture ID
for a parameter of type GL_SAMPLER2D, then the respective value
will be the appropriate TextureModel instance.Copyright © 2022. All Rights Reserved.