com.supermap.ar.areffect.gltfModel
Class Materials
- java.lang.Object
-
- com.supermap.ar.areffect.gltfModel.Materials
-
public class Materials extends java.lang.Object
Materials
-
-
Constructor Summary
Constructors Constructor and Description Materials()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.String
getAlphaMode()
Gets Alpha channel informationjava.lang.Float[]
getEmissiveFactor()
Gets the luminous sourcejava.lang.String
getName()
Gets the namePbrMetallicRoughness
getPbrMetallicRoughness()
Gets PBR parametervoid
setAlphaMode(java.lang.String alphaMode)
Sets Alpha channel informationvoid
setEmissiveFactor(java.lang.Float[] emissiveFactor)
Sets the luminous sourcevoid
setName(java.lang.String name)
Sets a namevoid
setPbrMetallicRoughness(PbrMetallicRoughness pbrMetallicRoughness)
Sets PBR parameter
-
-
-
Method Detail
-
setPbrMetallicRoughness
public void setPbrMetallicRoughness(PbrMetallicRoughness pbrMetallicRoughness)
Sets PBR parameter- Parameters:
pbrMetallicRoughness
-
-
getPbrMetallicRoughness
public PbrMetallicRoughness getPbrMetallicRoughness()
Gets PBR parameter- Returns:
-
setEmissiveFactor
public void setEmissiveFactor(java.lang.Float[] emissiveFactor)
Sets the luminous source- Parameters:
emissiveFactor
-
-
getEmissiveFactor
public java.lang.Float[] getEmissiveFactor()
Gets the luminous source- Returns:
-
setAlphaMode
public void setAlphaMode(java.lang.String alphaMode)
Sets Alpha channel information- Parameters:
alphaMode
-
-
getAlphaMode
public java.lang.String getAlphaMode()
Gets Alpha channel information- Returns:
-
setName
public void setName(java.lang.String name)
Sets a name- Parameters:
name
-
-
getName
public java.lang.String getName()
Gets the name- Returns:
-
-