AnyCAD Rapid SDK  2020
The Rapid CAD SDK
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | List of all members
MaterialInstance Class Reference
Inheritance diagram for MaterialInstance:
GfxObject BasicMaterial FontMaterial MeshMaterial PointsMaterial SpriteMaterial LineDashedMaterial MeshPhongMaterial MeshStandardMaterial

Public Member Functions

synchronized void delete ()
 
String GetName ()
 
void SetName (String val)
 
long GetHashCodeId ()
 
MaterialTemplate GetTemplate ()
 
void SetTemplate (MaterialTemplate val)
 
long GetUpdateVersion ()
 
short GetLineWidth ()
 
void SetLineWidth (short 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 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
synchronized void delete ()
 
long GetUuid ()
 
void SetUuid (long val)
 

Static Public Member Functions

static MaterialInstance Cast (GfxObject obj)
 

Protected Member Functions

 MaterialInstance (long cPtr, boolean cMemoryOwn)
 
void swigSetCMemOwn (boolean own)
 
void finalize ()
 
- Protected Member Functions inherited from GfxObject
 GfxObject (long cPtr, boolean cMemoryOwn)
 
void swigSetCMemOwn (boolean own)
 
void finalize ()
 

Static Protected Member Functions

static long getCPtr (MaterialInstance obj)
 
- Static Protected Member Functions inherited from GfxObject
static long getCPtr (GfxObject obj)