Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGiSkyParameters.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 OdGiSkyParameters : 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 OdGiSkyParameters(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(OdGiSkyParameters 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 OdGiSkyParameters() : this(GlobalsPINVOKE.new_OdGiSkyParameters(), true) {
53 }
54
55 public bool IsEqual(OdGiSkyParameters params_) {
58 return ret;
59 }
60
61 public void setIllumination(bool enable) {
64 }
65
66 public bool illumination() {
69 return ret;
70 }
71
72 public void setIntensityFactor(double intensity) {
75 }
76
77 public double intensityFactor() {
80 return ret;
81 }
82
83 public void setHaze(double haze) {
86 }
87
88 public double haze() {
89 double ret = GlobalsPINVOKE.OdGiSkyParameters_haze(swigCPtr);
91 return ret;
92 }
93
94 public void setHorizonHeight(double height) {
97 }
98
99 public double horizonHeight() {
100 double ret = GlobalsPINVOKE.OdGiSkyParameters_horizonHeight(swigCPtr);
102 return ret;
103 }
104
105 public void setHorizonBlur(double blur) {
108 }
109
110 public double horizonBlur() {
111 double ret = GlobalsPINVOKE.OdGiSkyParameters_horizonBlur(swigCPtr);
113 return ret;
114 }
115
116 public void setGroundColor(OdCmEntityColor color) {
119 }
120
124 return ret;
125 }
126
127 public void setNightColor(OdCmEntityColor color) {
130 }
131
135 return ret;
136 }
137
138 public void setAerialPerspective(bool apply) {
141 }
142
143 public bool aerialPerspective() {
146 return ret;
147 }
148
149 public void setVisibilityDistance(double distance) {
152 }
153
154 public double visibilityDistance() {
157 return ret;
158 }
159
160 public void setDiskScale(double scale) {
163 }
164
165 public double diskScale() {
166 double ret = GlobalsPINVOKE.OdGiSkyParameters_diskScale(swigCPtr);
168 return ret;
169 }
170
171 public void setGlowIntensity(double intensity) {
174 }
175
176 public double glowIntensity() {
177 double ret = GlobalsPINVOKE.OdGiSkyParameters_glowIntensity(swigCPtr);
179 return ret;
180 }
181
182 public void setDiskIntensity(double intensity) {
185 }
186
187 public double diskIntensity() {
188 double ret = GlobalsPINVOKE.OdGiSkyParameters_diskIntensity(swigCPtr);
190 return ret;
191 }
192
193 public void setSolarDiskSamples(UInt16 /*SIMPLETYPE*/ samples) {
194 GlobalsPINVOKE.OdGiSkyParameters_setSolarDiskSamples(swigCPtr, samples /*SIMPLETYPE*/);
196 }
197
198 public UInt16 solarDiskSamples() {
199// test csout
200 /*SIMPLETYPE*/
203 return ret;
204 }
205
206 public void setSunDirection(OdGeVector3d sundir) {
209 }
210
214 return ret;
215 }
216
217 public void setRedBlueShift(double redBlueShift) {
220 }
221
222 public double redBlueShift() {
223 double ret = GlobalsPINVOKE.OdGiSkyParameters_redBlueShift(swigCPtr);
225 return ret;
226 }
227
228 public void setSaturation(double saturation) {
231 }
232
233 public double saturation() {
234 double ret = GlobalsPINVOKE.OdGiSkyParameters_saturation(swigCPtr);
236 return ret;
237 }
238
239}
240
241}
static global::System.Exception Retrieve()
static bool OdGiSkyParameters_illumination(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdGiSkyParameters_intensityFactor(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdGiSkyParameters_diskIntensity(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdGiSkyParameters_diskScale(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiSkyParameters_aerialPerspective(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSkyParameters_setAerialPerspective(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static double OdGiSkyParameters_horizonHeight(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSkyParameters_setHorizonBlur(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdGiSkyParameters_setHaze(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdGiSkyParameters_setVisibilityDistance(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdGiSkyParameters_setRedBlueShift(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static double OdGiSkyParameters_glowIntensity(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSkyParameters_setNightColor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiSkyParameters_setIllumination(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdGiSkyParameters_IsEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_OdGiSkyParameters(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiSkyParameters_nightColor(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSkyParameters_setIntensityFactor(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdGiSkyParameters_setSunDirection(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiSkyParameters_setGlowIntensity(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static double OdGiSkyParameters_haze(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdGiSkyParameters_redBlueShift(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSkyParameters_setDiskIntensity(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdGiSkyParameters_setDiskScale(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static double OdGiSkyParameters_visibilityDistance(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdGiSkyParameters_saturation(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiSkyParameters_sunDirection(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSkyParameters_setSaturation(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdGiSkyParameters_setSolarDiskSamples(global::System.Runtime.InteropServices.HandleRef jarg1, UInt16 jarg2)
static void OdGiSkyParameters_setGroundColor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGiSkyParameters_groundColor(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt16 OdGiSkyParameters_solarDiskSamples(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSkyParameters_setHorizonHeight(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static double OdGiSkyParameters_horizonBlur(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdCmEntityColor obj)
static HandleRef getCPtr(OdGeVector3d obj)
Definition: OdGeVector3d.cs:26
virtual void Dispose(bool disposing)
void setNightColor(OdCmEntityColor color)
void setRedBlueShift(double redBlueShift)
void setGlowIntensity(double intensity)
bool IsEqual(OdGiSkyParameters params_)
void setSunDirection(OdGeVector3d sundir)
void setHorizonHeight(double height)
void setSolarDiskSamples(UInt16 samples)
void setDiskIntensity(double intensity)
void setSaturation(double saturation)
void setGroundColor(OdCmEntityColor color)
static HandleRef getCPtr(OdGiSkyParameters obj)
void setVisibilityDistance(double distance)
OdGiSkyParameters(IntPtr cPtr, bool cMemoryOwn)
void setIntensityFactor(double intensity)