|
AnyCAD Rapid API 2023
Help you to create a better world!
|
Public 成员函数 | |
| 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) |
| float | GetPointSize () |
| boolean | SetPointSize (float val) |
| EnumPointStyle | GetPointStyle () |
| boolean | SetPointStyle (EnumPointStyle val) |
| ObjectId | GetParentId () |
| boolean | SetParentId (ObjectId val) |
| float | GetUserData () |
| boolean | SetUserData (float val) |
| float | GetRenderOrder () |
| boolean | SetRenderOrder (float val) |
| ObjectId | GetColorTextureId () |
| boolean | SetColorTextureId (ObjectId val) |
| boolean | GetDepthTest () |
| boolean | SetDepthTest (boolean val) |
| EnumFaceSide | GetFaceSide () |
| boolean | SetFaceSide (EnumFaceSide val) |
| void | RequestUpdate () |
| boolean | UpdateMaterial () |
| void | Initialize () |
Public 成员函数 继承自 Element | |
| ClassId | GetClassId () |
| ObjectId | GetId () |
| long | GetUserId () |
| boolean | SetUserId (long val) |
| String | GetName () |
| boolean | SetName (String val) |
| String | GetSchemaName () |
| boolean | SetSchemaName (String val) |
| long | GetUserFlags () |
| void | SetUserFlags (long val) |
| void | MakeUniqueName (String base) |
| void | MakeUniqueName () |
| void | RequestUpdate () |
| void | ListParameters (ParameterDict parameters) |
| boolean | SetParameter (ParameterDict parameters, String key) |
Public 成员函数 继承自 AObject | |
| ClassId | GetClassId () |
| boolean | IsEqual (AObject other) |
静态 Public 成员函数 | |
| static ClassId | GetStaticClassId () |
| static MaterialElement | Cast (AObject obj) |
| static MaterialElement | Create (Document pDoc) |
| static ClassId | GetStaticClassId () |
| static Element | Cast (AObject obj) |
| static ClassId | GetStaticClassId () |
静态 Public 属性 | |
| static final long | PID_MaterialFinish = AnyCADJNI.MaterialElement_PID_MaterialFinish_get() |
|
static |
重载 Element .
| void MaterialElement.RequestUpdate | ( | ) |
在被添加到文档时候调用,或者后动调用以触发更新。
重载 Element .