com.supermap.ar.areffect.preset
Class ShapeStyle
- java.lang.Object
-
- com.supermap.ar.areffect.preset.ShapeStyle
-
public class ShapeStyle extends java.lang.Object
shape Style
-
-
Constructor Summary
Constructors Constructor and Description ShapeStyle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description Color
getColor()
float
getMetallic()
float
getRadius()
float
getReflectance()
float
getRoughness()
Color
getSelectedColor()
int
getTextureMap()
boolean
isShadowCaster()
boolean
isShadowReceiver()
ShapeStyle
setColor(Color color)
ShapeStyle
setColor(float r, float g, float b, float a)
ShapeStyle
setMetallic(float metallic)
ShapeStyle
setRadius(float radius)
ShapeStyle
setReflectance(float reflectance)
ShapeStyle
setRoughness(float roughness)
ShapeStyle
setSelectedColor(Color selectedColor)
ShapeStyle
setShadowCaster(boolean shadowCaster)
ShapeStyle
setShadowReceiver(boolean shadowReceiver)
ShapeStyle
setTextureMap(int textureMap)
-
-
-
Method Detail
-
getRadius
public float getRadius()
-
setRadius
public ShapeStyle setRadius(float radius)
-
getColor
public Color getColor()
-
setColor
public ShapeStyle setColor(Color color)
-
setColor
public ShapeStyle setColor(float r, float g, float b, float a)
-
isShadowReceiver
public boolean isShadowReceiver()
-
setShadowReceiver
public ShapeStyle setShadowReceiver(boolean shadowReceiver)
-
isShadowCaster
public boolean isShadowCaster()
-
setShadowCaster
public ShapeStyle setShadowCaster(boolean shadowCaster)
-
getMetallic
public float getMetallic()
-
setMetallic
public ShapeStyle setMetallic(float metallic)
-
getRoughness
public float getRoughness()
-
setRoughness
public ShapeStyle setRoughness(float roughness)
-
getReflectance
public float getReflectance()
-
setReflectance
public ShapeStyle setReflectance(float reflectance)
-
getSelectedColor
public Color getSelectedColor()
-
setSelectedColor
public ShapeStyle setSelectedColor(Color selectedColor)
-
getTextureMap
public int getTextureMap()
-
setTextureMap
public ShapeStyle setTextureMap(int textureMap)
-
-