AnyCAD Rapid API 2023
Help you to create a better world!
MaterialElement Class Reference
Inheritance diagram for MaterialElement:
Element AObject

Public Member Functions

ClassId GetClassId ()
 
MeshStandardMaterial GetFaceMaterial ()
 
void SetFaceMaterial (MeshStandardMaterial val)
 
LineDashedMaterial GetEdgeMaterial ()
 
void SetEdgeMaterial (LineDashedMaterial val)
 
PointsMaterial GetPointMaterial ()
 
void SetPointMaterial (PointsMaterial val)
 
Vector3 GetFaceColor ()
 
boolean SetFaceColor (Vector3 val)
 
int GetLineWidth ()
 
boolean SetLineWidth (int val)
 
Vector3 GetEdgeColor ()
 
boolean SetEdgeColor (Vector3 val)
 
float GetMetalness ()
 
boolean SetMetalness (float val)
 
float GetRoughness ()
 
boolean SetRoughness (float val)
 
float GetOpacity ()
 
boolean SetOpacity (float val)
 
Vector3 GetPointColor ()
 
boolean SetPointColor (Vector3 val)
 
boolean Regenerate ()
 
void Initialize ()
 
- Public Member Functions inherited from Element
ElementId GetId ()
 
void SetId (ElementId val)
 
long GetUserId ()
 
boolean SetUserId (long val)
 
String GetName ()
 
boolean SetName (String val)
 
String GetSchemaName ()
 
boolean SetSchemaName (String val)
 
ParameterDict GetParameterDict ()
 
boolean AddParameter (String name, ParameterValue val)
 
void SetParameter (String name, ParameterValue val)
 
void RemoveParameter (String name)
 
ParameterIterator CreateParameterIterator ()
 
ParameterValue FindParameter (String name)
 
- Public Member Functions inherited from AObject
boolean IsEqual (AObject other)
 

Static Public Member Functions

static MaterialElement Cast (AObject obj)
 
static ClassId GetStaticClassId ()
 
static void InitRx ()
 

Static Public Attributes

static final long PID_MaterialFinish = AnyCADJNI.MaterialElement_PID_MaterialFinish_get()
 

Detailed Description

Member Function Documentation

◆ Cast()

static MaterialElement MaterialElement.Cast ( AObject  obj)
static

Reimplemented from Element.

◆ GetClassId()

ClassId MaterialElement.GetClassId ( )

Reimplemented from Element.

◆ GetStaticClassId()

static ClassId MaterialElement.GetStaticClassId ( )
static

Reimplemented from Element.