Extended .NET SDK Documentation 2024 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
55 public void Assign(OdGiMaterialTraitsData other) {
58 }
59
60 public bool IsEqual(OdGiMaterialTraitsData other) {
63 return ret;
64 }
65
69 return ret;
70 }
71
72 public void ambient(OdGiMaterialColor ambientColor) {
75 }
76
77 public void diffuse(OdGiMaterialColor diffuseColor, OdGiMaterialMap diffuseMap) {
80 }
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
87 public void reflection(OdGiMaterialMap reflectionMap) {
90 }
91
92 public void opacity(out double opacity, OdGiMaterialMap opacityMap) {
95 }
96
97 public void bump(OdGiMaterialMap bumpMap) {
100 }
101
102 public void refraction(out double refractionIndex, OdGiMaterialMap refractionMap) {
103 GlobalsPINVOKE.OdGiMaterialTraitsData_refraction(swigCPtr, out refractionIndex, OdGiMaterialMap.getCPtr(refractionMap));
105 }
106
107 public double translucence() {
110 return ret;
111 }
112
113 public double selfIllumination() {
116 return ret;
117 }
118
119 public double reflectivity() {
122 return ret;
123 }
124
128 return ret;
129 }
130
134 return ret;
135 }
136
140 return ret;
141 }
142
143 public void setAmbient(OdGiMaterialColor ambientColor) {
146 }
147
148 public void setDiffuse(OdGiMaterialColor diffuseColor, OdGiMaterialMap diffuseMap) {
151 }
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
158 public void setReflection(OdGiMaterialMap reflectionMap) {
161 }
162
163 public void setOpacity(double opacity, OdGiMaterialMap opacityMap) {
166 }
167
168 public void setBump(OdGiMaterialMap bumpMap) {
171 }
172
173 public void setRefraction(double refractionIndex, OdGiMaterialMap refractionMap) {
174 GlobalsPINVOKE.OdGiMaterialTraitsData_setRefraction(swigCPtr, refractionIndex, OdGiMaterialMap.getCPtr(refractionMap));
176 }
177
178 public void setTranslucence(double value) {
181 }
182
183 public void setSelfIllumination(double value) {
186 }
187
188 public void setReflectivity(double value) {
191 }
192
196 }
197
201 }
202
206 }
207
208 public void setColorBleedScale(double scale) {
211 }
212
213 public double colorBleedScale() {
216 return ret;
217 }
218
219 public void setIndirectBumpScale(double scale) {
222 }
223
224 public double indirectBumpScale() {
227 return ret;
228 }
229
230 public void setReflectanceScale(double scale) {
233 }
234
235 public double reflectanceScale() {
238 return ret;
239 }
240
241 public void setTransmittanceScale(double scale) {
244 }
245
246 public double transmittanceScale() {
249 return ret;
250 }
251
252 public void setTwoSided(bool flag) {
255 }
256
257 public bool twoSided() {
260 return ret;
261 }
262
266 }
267
271 return ret;
272 }
273
274 public void setLuminance(double value) {
277 }
278
279 public double luminance() {
282 return ret;
283 }
284
288 }
289
290 public void normalMap(OdGiMaterialMap normalMap, out OdGiMaterialTraits.NormalMapMethod method, out double strength) {
293 }
294
298 }
299
303 return ret;
304 }
305
309 }
310
314 return ret;
315 }
316
317 public void setEmission(OdGiMaterialColor emissionColor, OdGiMaterialMap emissionMap) {
320 }
321
322 public void emission(OdGiMaterialColor emissionColor, OdGiMaterialMap emissionMap) {
325 }
326
327 public void setTint(OdGiMaterialColor tintColor) {
330 }
331
332 public void tint(OdGiMaterialColor tintColor) {
335 }
336
337 public void setShadingAmbient(OdGiMaterialColor ambientColor) {
340 }
341
342 public void shadingAmbient(OdGiMaterialColor ambientColor) {
345 }
346
347 public void setShadingDiffuse(OdGiMaterialColor diffuseColor) {
350 }
351
352 public void shadingDiffuse(OdGiMaterialColor diffuseColor) {
355 }
356
357 public void setShadingSpecular(OdGiMaterialColor specularColor) {
360 }
361
362 public void shadingSpecular(OdGiMaterialColor specularColor) {
365 }
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
380 }
381
385 return ret;
386 }
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
399 public void setSpecularHighlightingOverride(double overrideVal) {
402 }
403
407 return ret;
408 }
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)