AnyCAD Rapid SDK 2022
The Rapid CAD SDK
Public Member Functions | Static Public Member Functions | List of all members
MeshPhongMaterial Class Reference
Inheritance diagram for MeshPhongMaterial:
MeshMaterial MaterialInstance GfxObject

Public Member Functions

void SetSpecular (Vector3 val)
 
Vector3 GetSpecular ()
 
void SetSpecularMap (Texture map)
 
Texture GetSpecularMap ()
 
void SetShininess (float val)
 
float GetShininess ()
 
void SetEnvBlendingMode (EnumEnvBlendingMode val)
 
EnumEnvBlendingMode GetEnvBlendingMode ()
 
void SetReflectivity (float val)
 
float GetReflectivity ()
 
- Public Member Functions inherited from MeshMaterial
void SetColorMap (Texture map)
 
Texture GetColorMap ()
 
void SetEnviornmentMap (Texture map)
 
Texture GetEnviornmentMap ()
 
void SetRefractionRatio (float val)
 
float GetRefractionRatio ()
 
void SetAoMap (Texture map)
 
Texture GetAoMap ()
 
void SetAoMapIntensity (float val)
 
float GetAoMapIntensity ()
 
void SetLightMap (Texture map)
 
Texture GetLightMap ()
 
void SetLightMapIntensity (float val)
 
float GetLightMapIntensity ()
 
void SetEmissive (Vector3 val)
 
Vector3 GetEmissive ()
 
void SetEmissiveIntensity (float val)
 
float GetEmissiveIntensity ()
 
void SetEmissiveMap (Texture map)
 
Texture GetEmissiveMap ()
 
void SetBumpMap (Texture map)
 
Texture GetBumpMap ()
 
void SetBumpScale (float val)
 
float GetBumpScale ()
 
void SetNormalMap (Texture map)
 
Texture GetNormalMap ()
 
void SetNormalScale (Vector2 val)
 
Vector2 GetNormalScale ()
 
void SetNormalMapType (EnumNormalMapType val)
 
EnumNormalMapType GetNormalMapType ()
 
void SetDisplacementMap (Texture map)
 
Texture GetDisplacementMap ()
 
void SetDisplacementScale (float val)
 
float GetDisplacementScale ()
 
void SetDisplacementBias (float val)
 
float GetDisplacementBias ()
 
void SetAlphaMap (Texture map)
 
Texture GetAlphaMap ()
 
void SetSkinning (boolean val)
 
boolean GetSkinning ()
 
void SetMorphTargets (boolean val)
 
boolean GetMorphTargets ()
 
void SetMorphNormals (boolean val)
 
boolean GetMorphNormals ()
 
- Public Member Functions inherited from MaterialInstance
String GetName ()
 
void SetName (String val)
 
long GetHashCodeId ()
 
MaterialTemplate GetTemplate ()
 
void SetTemplate (MaterialTemplate val)
 
long GetUpdateVersion ()
 
short GetLineWidth ()
 
void SetLineWidth (short val)
 
boolean GetDepthTest ()
 
void SetDepthTest (boolean val)
 
boolean GetDepthWrite ()
 
void SetDepthWrite (boolean val)
 
UniformSet GetUniforms ()
 
EnumBlendingMode GetBlending ()
 
void SetBlending (EnumBlendingMode val)
 
void SetColor (Vector3 val)
 
Vector3 GetColor ()
 
void SetOpacity (float val)
 
float GetOpacity ()
 
void SetFaceSide (EnumFaceSide val)
 
EnumFaceSide GetFaceSide ()
 
void SetVertexColors (boolean val)
 
boolean GetVertexColors ()
 
void SetVertexColors4 (boolean val)
 
boolean GetVertexColors4 ()
 
void SetColor (short r, short g, short b)
 
void SetColor (float r, float g, float b)
 
void SetTransparent (boolean enabled)
 
boolean GetTransparent ()
 
boolean GetReceiveShadow ()
 
boolean GetStatic ()
 
long GetMorphTargetCount ()
 
void RequestUpdate ()
 
void ComputeHashCode ()
 
void AddDefine (String key, String value)
 
void AddTexture (String name, Texture texture)
 
Texture GetTexture (String name)
 
void SetUniform (String name, Uniform val)
 
- Public Member Functions inherited from GfxObject
long GetUuid ()
 
void SetUuid (long val)
 

Static Public Member Functions

static MeshPhongMaterial Cast (MeshMaterial obj)
 
static MeshPhongMaterial Create (String templateName)
 
static MeshPhongMaterial Cast (MaterialInstance material)
 
- Static Public Member Functions inherited from MaterialInstance
static MaterialInstance Cast (GfxObject obj)
 

Detailed Description

<> The mesh material with phong lighting model.

Member Function Documentation

◆ Cast()

static MeshPhongMaterial MeshPhongMaterial.Cast ( MaterialInstance  material)
static

Reimplemented from MeshMaterial.