Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdGiMaterialTraitsData.cs
Go to the documentation of this file.
1//------------------------------------------------------------------------------
2// <auto-generated />
3//
4// This file was automatically generated by SWIG (http://www.swig.org).
5// Version 4.0.2
6//
7// Do not make changes to this file unless you know what you are doing--modify
8// the SWIG interface file instead.
9//------------------------------------------------------------------------------
10
11namespace Teigha.Core {
12
13using System;
14using System.Runtime.InteropServices;
15
16public class OdGiMaterialTraitsData : global::System.IDisposable {
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 protected bool swigCMemOwn;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public OdGiMaterialTraitsData(IntPtr cPtr, bool cMemoryOwn) {
22 swigCMemOwn = cMemoryOwn;
23 swigCPtr = new HandleRef(this, cPtr);
24 }
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdGiMaterialTraitsData obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
31 Dispose(false);
32 }
33
34 public void Dispose() {
35 Dispose(true);
36 global::System.GC.SuppressFinalize(this);
37 }
38
39 protected virtual void Dispose(bool disposing) {
40 lock(this) {
41 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
42 if (swigCMemOwn) {
43 swigCMemOwn = false;
45 }
46 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
47 }
48 }
49 }
50
51 public OdGiMaterialTraitsData() : this(GlobalsPINVOKE.new_OdGiMaterialTraitsData(), true) {
53 }
54
59
65
71
76
81
82 public void specular(OdGiMaterialColor specularColor, OdGiMaterialMap specularMap, out double glossFactor) {
83 GlobalsPINVOKE.OdGiMaterialTraitsData_specular(swigCPtr, OdGiMaterialColor.getCPtr(specularColor), OdGiMaterialMap.getCPtr(specularMap), out glossFactor);
85 }
86
91
96
101
102 public void refraction(out double refractionIndex, OdGiMaterialMap refractionMap) {
103 GlobalsPINVOKE.OdGiMaterialTraitsData_refraction(swigCPtr, out refractionIndex, OdGiMaterialMap.getCPtr(refractionMap));
105 }
106
112
118
124
130
136
142
147
152
153 public void setSpecular(OdGiMaterialColor specularColor, OdGiMaterialMap specularMap, double glossFactor) {
154 GlobalsPINVOKE.OdGiMaterialTraitsData_setSpecular(swigCPtr, OdGiMaterialColor.getCPtr(specularColor), OdGiMaterialMap.getCPtr(specularMap), glossFactor);
156 }
157
162
167
172
173 public void setRefraction(double refractionIndex, OdGiMaterialMap refractionMap) {
174 GlobalsPINVOKE.OdGiMaterialTraitsData_setRefraction(swigCPtr, refractionIndex, OdGiMaterialMap.getCPtr(refractionMap));
176 }
177
182
187
192
197
202
207
212
218
223
229
234
240
245
251
256
262
267
273
278
279 public double luminance() {
282 return ret;
283 }
284
289
294
299
305
310
316
321
326
331
336
341
346
351
356
361
366
367 public void setShadingOpacity(double opacityPercentage) {
368 GlobalsPINVOKE.OdGiMaterialTraitsData_setShadingOpacity(swigCPtr, opacityPercentage);
370 }
371
372 public void shadingOpacity(out double opacityPercentage) {
373 GlobalsPINVOKE.OdGiMaterialTraitsData_shadingOpacity(swigCPtr, out opacityPercentage);
375 }
376
381
387
388 public void setShadowsOpacityEffect(double shadowsOpacity, double nonShadowLightsMergeEffect) {
389 GlobalsPINVOKE.OdGiMaterialTraitsData_setShadowsOpacityEffect(swigCPtr, shadowsOpacity, nonShadowLightsMergeEffect);
391 }
392
393 public double shadowsOpacityEffect(out double nonShadowLightsMergeEffect) {
394 double ret = GlobalsPINVOKE.OdGiMaterialTraitsData_shadowsOpacityEffect(swigCPtr, out nonShadowLightsMergeEffect);
396 return ret;
397 }
398
403
409
415
421
427
433
439
440}
441
442}
static global::System.Exception Retrieve()
static int OdGiMaterialTraitsData_channelFlags(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiMaterialTraitsData_setSelfIllumination(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdGiMaterialTraitsData_setShadowsOpacityEffect(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3)
static double OdGiMaterialTraitsData_shadowsOpacityEffect(global::System.Runtime.InteropServices.HandleRef jarg1, out double jarg2)
static void OdGiMaterialTraitsData_setAmbient(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiMaterialTraitsData_setIlluminationModel(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void OdGiMaterialTraitsData_setLuminanceMode(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static int OdGiMaterialTraitsData_diffuseColorMode(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiMaterialTraitsData_IsNotEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiMaterialTraitsData_shadingOpacity(global::System.Runtime.InteropServices.HandleRef jarg1, out double jarg2)
static void OdGiMaterialTraitsData_shadingSpecular(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiMaterialTraitsData_setEmission(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdGiMaterialTraitsData_reflection(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiMaterialTraitsData_setMode(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void OdGiMaterialTraitsData_setRefraction(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdGiMaterialTraitsData_opacity(global::System.Runtime.InteropServices.HandleRef jarg1, out double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdGiMaterialTraitsData_setTranslucence(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdGiMaterialTraitsData_emission(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdGiMaterialTraitsData_setGlobalIllumination(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static int OdGiMaterialTraitsData_finalGather(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdGiMaterialTraitsData_translucence(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiMaterialTraitsData_setFinalGather(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static int OdGiMaterialTraitsData_luminanceMode(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiMaterialTraitsData_setReflectanceScale(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static int OdGiMaterialTraitsData_globalIllumination(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiMaterialTraitsData_setOpacity(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGiMaterialTraitsData_IsEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiMaterialTraitsData_setColorBleedScale(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdGiMaterialTraitsData_setBump(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static double OdGiMaterialTraitsData_colorBleedScale(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdGiMaterialTraitsData_specularHighlightingOverride(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiMaterialTraitsData_shadingAmbient(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiMaterialTraitsData_tint(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiMaterialTraitsData_setTransmittanceScale(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static double OdGiMaterialTraitsData_selfIllumination(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiMaterialTraitsData_setChannelFlags(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void OdGiMaterialTraitsData_setIndirectBumpScale(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdGiMaterialTraitsData_normalMap(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, out OdGiMaterialTraits.NormalMapMethod jarg3, out double jarg4)
static void OdGiMaterialTraitsData_setDiffuse(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdGiMaterialTraitsData_setReflectivity(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdGiMaterialTraitsData_setShadingOpacity(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdGiMaterialTraitsData_setSpecular(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, double jarg4)
static void OdGiMaterialTraitsData_setLuminance(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdGiMaterialTraitsData_setSpecularHighlightingOverride(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdGiMaterialTraitsData_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiMaterialTraitsData_bump(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static double OdGiMaterialTraitsData_indirectBumpScale(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdGiMaterialTraitsData_reflectanceScale(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdGiMaterialTraitsData_reflectivity(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiMaterialTraitsData_setNormalMap(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, double jarg4)
static void OdGiMaterialTraitsData_setTint(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiMaterialTraitsData_setTwoSided(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static int OdGiMaterialTraitsData_illuminationModel(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdGiMaterialTraitsData_luminance(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiMaterialTraitsData_refraction(global::System.Runtime.InteropServices.HandleRef jarg1, out double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdGiMaterialTraitsData_setDiffuseColorMode(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void OdGiMaterialTraitsData_ambient(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdGiMaterialTraitsData_mode(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiMaterialTraitsData_shadingDiffuse(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGiMaterialTraitsData_twoSided(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiMaterialTraitsData_setShadingAmbient(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiMaterialTraitsData_diffuse(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdGiMaterialTraitsData_setShadingDiffuse(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiMaterialTraitsData_specular(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, out double jarg4)
static void OdGiMaterialTraitsData_setReflection(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_OdGiMaterialTraitsData(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdGiMaterialTraitsData_transmittanceScale(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiMaterialTraitsData_setShadingSpecular(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static HandleRef getCPtr(OdGiMaterialColor obj)
static HandleRef getCPtr(OdGiMaterialMap obj)
void shadingDiffuse(OdGiMaterialColor diffuseColor)
Teigha.Core.OdGiMaterialTraits.IlluminationModel vb_illuminationModel()
void setFinalGather(OdGiMaterialTraits.FinalGatherMode mode)
void setSpecular(OdGiMaterialColor specularColor, OdGiMaterialMap specularMap, double glossFactor)
OdGiMaterialTraits.FinalGatherMode finalGather()
void setAmbient(OdGiMaterialColor ambientColor)
void setLuminanceMode(OdGiMaterialTraits.LuminanceMode mode)
bool IsEqual(OdGiMaterialTraitsData other)
void setGlobalIllumination(OdGiMaterialTraits.GlobalIlluminationMode mode)
void diffuse(OdGiMaterialColor diffuseColor, OdGiMaterialMap diffuseMap)
void setShadingSpecular(OdGiMaterialColor specularColor)
void emission(OdGiMaterialColor emissionColor, OdGiMaterialMap emissionMap)
void setShadingAmbient(OdGiMaterialColor ambientColor)
OdGiMaterialTraits.LuminanceMode luminanceMode()
void reflection(OdGiMaterialMap reflectionMap)
OdGiMaterialTraits.DiffuseColorMode diffuseColorMode()
void setDiffuse(OdGiMaterialColor diffuseColor, OdGiMaterialMap diffuseMap)
OdGiMaterialTraits.ChannelFlags channelFlags()
void refraction(out double refractionIndex, OdGiMaterialMap refractionMap)
void tint(OdGiMaterialColor tintColor)
virtual void Dispose(bool disposing)
void setShadowsOpacityEffect(double shadowsOpacity, double nonShadowLightsMergeEffect)
void opacity(out double opacity, OdGiMaterialMap opacityMap)
void setShadingDiffuse(OdGiMaterialColor diffuseColor)
OdGiMaterialTraits.GlobalIlluminationMode globalIllumination()
void shadingSpecular(OdGiMaterialColor specularColor)
void setChannelFlags(OdGiMaterialTraits.ChannelFlags flags)
void setReflection(OdGiMaterialMap reflectionMap)
void setRefraction(double refractionIndex, OdGiMaterialMap refractionMap)
static HandleRef getCPtr(OdGiMaterialTraitsData obj)
void setIlluminationModel(OdGiMaterialTraits.IlluminationModel model)
void setSpecularHighlightingOverride(double overrideVal)
void setBump(OdGiMaterialMap bumpMap)
void specular(OdGiMaterialColor specularColor, OdGiMaterialMap specularMap, out double glossFactor)
void shadingAmbient(OdGiMaterialColor ambientColor)
void setDiffuseColorMode(OdGiMaterialTraits.DiffuseColorMode diffuseColorMode)
void setTint(OdGiMaterialColor tintColor)
void shadingOpacity(out double opacityPercentage)
void normalMap(OdGiMaterialMap normalMap, out OdGiMaterialTraits.NormalMapMethod method, out double strength)
bool IsNotEqual(OdGiMaterialTraitsData other)
OdGiMaterialTraitsData(IntPtr cPtr, bool cMemoryOwn)
Teigha.Core.OdGiMaterialTraits.LuminanceMode vb_luminanceMode()
void setEmission(OdGiMaterialColor emissionColor, OdGiMaterialMap emissionMap)
Teigha.Core.OdGiMaterialTraits.ChannelFlags vb_channelFlags()
Teigha.Core.OdGiMaterialTraits.DiffuseColorMode vb_diffuseColorMode()
void setMode(OdGiMaterialTraits.Mode value)
Teigha.Core.OdGiMaterialTraits.Mode vb_mode()
OdGiMaterialTraits.IlluminationModel illuminationModel()
void setNormalMap(OdGiMaterialMap normalMap, OdGiMaterialTraits.NormalMapMethod method, double strength)
double shadowsOpacityEffect(out double nonShadowLightsMergeEffect)
void Assign(OdGiMaterialTraitsData other)
void setOpacity(double opacity, OdGiMaterialMap opacityMap)
void setShadingOpacity(double opacityPercentage)
void ambient(OdGiMaterialColor ambientColor)
void bump(OdGiMaterialMap bumpMap)