AnyCAD Rapid SDK  2020
The Rapid CAD SDK
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 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)
 
void SetFaceSide (EnumFaceSide val)
 
EnumFaceSide GetFaceSide ()
 
UniformSet GetUniforms ()
 
EnumBlendingMode GetBlending ()
 
void SetBlending (EnumBlendingMode val)
 
void SetColor (Vector3 val)
 
Vector3 GetColor ()
 
void SetOpacity (float val)
 
float GetOpacity ()
 
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)
 

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)