Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdAvePref.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.TD {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16
17public class OdAvePref : global::System.IDisposable {
18 private Object locker = new Object();
19 private HandleRef swigCPtr;
20 protected bool swigCMemOwn;
21 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
22 public OdAvePref(IntPtr cPtr, bool cMemoryOwn) {
23 swigCMemOwn = cMemoryOwn;
24 swigCPtr = new HandleRef(this, cPtr);
25 }
26 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 public static HandleRef getCPtr(OdAvePref obj) {
28 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
29 }
30
31 ~OdAvePref() {
32 Dispose(false);
33 }
34
35 public void Dispose() {
36 Dispose(true);
37 global::System.GC.SuppressFinalize(this);
38 }
39
40 protected virtual void Dispose(bool disposing) {
41 lock(this) {
42 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
43 if (swigCMemOwn) {
44 swigCMemOwn = false;
46 }
47 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
48 }
49 }
50 }
51
52 public OdAvePref() : this(TD_DbPINVOKE.new_OdAvePref(), true) {
54 }
55
57 set {
60 }
61 get {
64 return ret;
65 }
66 }
67
69 set {
72 }
73 get {
76 return ret;
77 }
78 }
79
80 public String m_Scene {
81 set { // OdString csvarin
84 }
85
86 get { // OdString csvarout
87 string ret = TD_DbPINVOKE.OdAvePref_m_Scene_get(swigCPtr);
89 return ret;
90 }
91
92 }
93
94 public Int16 m_nSubSampling {
95 set {
96 /*SIMPLETYPE*/
97 TD_DbPINVOKE.OdAvePref_m_nSubSampling_set(swigCPtr, value /*SIMPLETYPE*/);
99 }
100 get {
101 /*SIMPLETYPE*/
102 Int16 ret = TD_DbPINVOKE.OdAvePref_m_nSubSampling_get(swigCPtr);
104 return ret;
105 }
106 }
107
108 public double m_dLightIconScale {
109 set {
112 }
113 get {
114 double ret = TD_DbPINVOKE.OdAvePref_m_dLightIconScale_get(swigCPtr);
116 return ret;
117 }
118 }
119
120 public double m_dSmoothingAngle {
121 set {
124 }
125 get {
126 double ret = TD_DbPINVOKE.OdAvePref_m_dSmoothingAngle_get(swigCPtr);
128 return ret;
129 }
130 }
131
132 public double m_dPreviewObjectSize {
133 set {
136 }
137 get {
140 return ret;
141 }
142 }
143
144 public bool m_bSmoothShade {
145 set {
148 }
149 get {
150 bool ret = TD_DbPINVOKE.OdAvePref_m_bSmoothShade_get(swigCPtr);
152 return ret;
153 }
154 }
155
156 public bool m_bShadows {
157 set {
160 }
161 get {
162 bool ret = TD_DbPINVOKE.OdAvePref_m_bShadows_get(swigCPtr);
164 return ret;
165 }
166 }
167
168 public bool m_bApplyMaterials {
169 set {
172 }
173 get {
176 return ret;
177 }
178 }
179
180 public bool m_bCropWindow {
181 set {
184 }
185 get {
186 bool ret = TD_DbPINVOKE.OdAvePref_m_bCropWindow_get(swigCPtr);
188 return ret;
189 }
190 }
191
192 public bool m_bRenderCache {
193 set {
196 }
197 get {
198 bool ret = TD_DbPINVOKE.OdAvePref_m_bRenderCache_get(swigCPtr);
200 return ret;
201 }
202 }
203
205 set {
208 }
209 get {
212 return ret;
213 }
214 }
215
216 public bool m_bSkipRenderDlg {
217 set {
220 }
221 get {
222 bool ret = TD_DbPINVOKE.OdAvePref_m_bSkipRenderDlg_get(swigCPtr);
224 return ret;
225 }
226 }
227
228 public double m_dLightIntensity {
229 set {
232 }
233 get {
234 double ret = TD_DbPINVOKE.OdAvePref_m_dLightIntensity_get(swigCPtr);
236 return ret;
237 }
238 }
239
240 public UInt32 m_nLightColor {
241 set {
242 /*SIMPLETYPE*/
243 TD_DbPINVOKE.OdAvePref_m_nLightColor_set(swigCPtr, value /*SIMPLETYPE*/);
245 }
246 get {
247 /*SIMPLETYPE*/
248 UInt32 ret = TD_DbPINVOKE.OdAvePref_m_nLightColor_get(swigCPtr);
250 return ret;
251 }
252 }
253
255 set { // OdString csvarin
258 }
259
260 get { // OdString csvarout
261 string ret = TD_DbPINVOKE.OdAvePref_m_NorthUcsName_get(swigCPtr);
263 return ret;
264 }
265
266 }
267
268 public double m_dNorthAngle {
269 set {
272 }
273 get {
274 double ret = TD_DbPINVOKE.OdAvePref_m_dNorthAngle_get(swigCPtr);
276 return ret;
277 }
278 }
279
280 public double m_dAmbientFactor {
281 set {
284 }
285 get {
286 double ret = TD_DbPINVOKE.OdAvePref_m_dAmbientFactor_get(swigCPtr);
288 return ret;
289 }
290 }
291
292 public double m_dDiffuseFactor {
293 set {
296 }
297 get {
298 double ret = TD_DbPINVOKE.OdAvePref_m_dDiffuseFactor_get(swigCPtr);
300 return ret;
301 }
302 }
303
304 public double m_dSpecularFactor {
305 set {
308 }
309 get {
310 double ret = TD_DbPINVOKE.OdAvePref_m_dSpecularFactor_get(swigCPtr);
312 return ret;
313 }
314 }
315
316 public double m_dRoughness {
317 set {
320 }
321 get {
322 double ret = TD_DbPINVOKE.OdAvePref_m_dRoughness_get(swigCPtr);
324 return ret;
325 }
326 }
327
328 public UInt32 m_nDiffuseColor {
329 set {
330 /*SIMPLETYPE*/
331 TD_DbPINVOKE.OdAvePref_m_nDiffuseColor_set(swigCPtr, value /*SIMPLETYPE*/);
333 }
334 get {
335 /*SIMPLETYPE*/
336 UInt32 ret = TD_DbPINVOKE.OdAvePref_m_nDiffuseColor_get(swigCPtr);
338 return ret;
339 }
340 }
341
343 set {
346 }
347 get {
350 return ret;
351 }
352 }
353
354}
355
356}
double m_dLightIconScale
Definition: OdAvePref.cs:108
virtual void Dispose(bool disposing)
Definition: OdAvePref.cs:40
RenderDestination m_Destination
Definition: OdAvePref.cs:68
UInt32 m_nDiffuseColor
Definition: OdAvePref.cs:328
bool m_bQueryForSelections
Definition: OdAvePref.cs:204
static HandleRef getCPtr(OdAvePref obj)
Definition: OdAvePref.cs:27
RenderType m_RenderType
Definition: OdAvePref.cs:56
double m_dAmbientFactor
Definition: OdAvePref.cs:280
double m_dPreviewObjectSize
Definition: OdAvePref.cs:132
OdAvePref(IntPtr cPtr, bool cMemoryOwn)
Definition: OdAvePref.cs:22
double m_dDiffuseFactor
Definition: OdAvePref.cs:292
bool m_bCurrentDiffuseColor
Definition: OdAvePref.cs:342
double m_dSmoothingAngle
Definition: OdAvePref.cs:120
double m_dLightIntensity
Definition: OdAvePref.cs:228
double m_dSpecularFactor
Definition: OdAvePref.cs:304
static global::System.Exception Retrieve()
static bool OdAvePref_m_bSkipRenderDlg_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdAvePref_m_bQueryForSelections_set(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static double OdAvePref_m_dLightIntensity_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt32 OdAvePref_m_nDiffuseColor_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt32 OdAvePref_m_nLightColor_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdAvePref_m_dLightIntensity_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdAvePref_m_nDiffuseColor_set(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static void OdAvePref_m_nLightColor_set(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static bool OdAvePref_m_bCropWindow_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdAvePref_m_Destination_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void OdAvePref_m_bApplyMaterials_set(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static double OdAvePref_m_dSpecularFactor_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdAvePref_m_NorthUcsName_set(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static void OdAvePref_m_bRenderCache_set(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdAvePref_m_bSkipRenderDlg_set(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdAvePref_m_nSubSampling_set(global::System.Runtime.InteropServices.HandleRef jarg1, Int16 jarg2)
static void OdAvePref_m_bSmoothShade_set(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdAvePref_m_dDiffuseFactor_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static int OdAvePref_m_Destination_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdAvePref_m_bShadows_set(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdAvePref_m_dSmoothingAngle_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdAvePref_m_dRoughness_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static double OdAvePref_m_dPreviewObjectSize_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdAvePref_m_bSmoothShade_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdAvePref_m_bQueryForSelections_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdAvePref_m_dLightIconScale_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdAvePref_m_RenderType_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdAvePref_m_dNorthAngle_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static double OdAvePref_m_dDiffuseFactor_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdAvePref_m_dRoughness_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdAvePref_m_dSmoothingAngle_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdAvePref_m_bCurrentDiffuseColor_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static String OdAvePref_m_NorthUcsName_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdAvePref_m_RenderType_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static bool OdAvePref_m_bApplyMaterials_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdAvePref_m_dNorthAngle_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdAvePref_m_bCropWindow_set(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static Int16 OdAvePref_m_nSubSampling_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdAvePref_m_Scene_set(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static String OdAvePref_m_Scene_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdAvePref_m_dAmbientFactor_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdAvePref_m_dAmbientFactor_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdAvePref_m_dPreviewObjectSize_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static bool OdAvePref_m_bRenderCache_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdAvePref_m_bCurrentDiffuseColor_set(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdAvePref_m_bShadows_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdAvePref_m_dLightIconScale_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdAvePref_m_dSpecularFactor_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void delete_OdAvePref(global::System.Runtime.InteropServices.HandleRef jarg1)