|
AnyCAD Rapid API 2026
Help you to create a better world!
|
材质模板. 更多...
Public 成员函数 | |
| MaterialTemplate (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| 仅供内部使用 | |
| uint | GetUpdateVersion () |
| string | GetName () |
| void | SetName (string val) |
| string | GetShaderTemplateName () |
| void | SetShaderTemplateName (string val) |
| RawShader | GetRawShader () |
| void | SetRawShader (RawShader val) |
| void | SetNormalMapType (EnumNormalMapType type) |
| EnumNormalMapType | GetNormalMapType () |
| void | SetEnvBlendingMode (EnumEnvBlendingMode type) |
| EnumEnvBlendingMode | GetEnvBlendingMode () |
| EnumFaceSide | GetFaceSide () |
| void | SetFaceSide (EnumFaceSide val) |
| EnumDepthPacking | GetDepthPacking () |
| void | SetDepthPacking (EnumDepthPacking val) |
| void | SetAlphaTest (bool enable) |
| bool | GetAlphaTest () |
| void | SetOpaque (bool enable) |
| bool | GetOpaque () |
| void | SetDithering (bool enable) |
| bool | GetDithering () |
| void | SetVertexColors (bool enable) |
| bool | GetVertexColors () |
| void | SetVertexColors4 (bool enable) |
| bool | GetVertexColors4 () |
| void | SetVertexTangents (bool enable) |
| bool | GetVertexTangents () |
| void | SetFlatShading (bool enable) |
| bool | GetFlatShading () |
| void | SetFlipSided (bool enable) |
| bool | GetFlipSided () |
| void | SetSkinning (bool enable) |
| bool | GetSkinning () |
| void | SetMorphTargets (bool enable) |
| bool | GetMorphTargets () |
| void | SetMorphNormals (bool enable) |
| bool | GetMorphNormals () |
| void | SetSizeAttenuation (bool enable) |
| bool | GetSizeAttenuation () |
| void | SetReceiveShadow (bool enable) |
| bool | GetReceiveShadow () |
| void | SetClipping (bool enable) |
| bool | GetClipping () |
| void | AddDefine (string key, string value) |
| void | RemoveDefine (string key) |
| bool | HasDefine (string key) |
| void | AddMap (string mapId, EnumEncoding encodeing, EnumMapping mapping) |
| bool | HasMap (string mapId) |
| void | RemoveMap (string mapId) |
| void | RequestUpdate () |
| string | ComputeHashCode () |
Public 成员函数 继承自 AnyCAD.Foundation.GfxObject | |
| GfxObject (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| 仅供内部使用 | |
| void | Dispose () |
| uint | GetUuid () |
静态 Public 成员函数 | |
| static MaterialTemplate | Cast (GfxObject obj) |
材质模板.
Group: Rendering