Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGiLightAttenuation.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 OdGiLightAttenuation : 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 OdGiLightAttenuation(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(OdGiLightAttenuation 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 OdGiLightAttenuation() : this(GlobalsPINVOKE.new_OdGiLightAttenuation(), true) {
53 }
54
58 }
59
63 return ret;
64 }
65
66 public void setUseLimits(bool on) {
69 }
70
71 public bool useLimits() {
74 return ret;
75 }
76
77 public void setLimits(double startlim, double endlim) {
78 GlobalsPINVOKE.OdGiLightAttenuation_setLimits(swigCPtr, startlim, endlim);
80 }
81
82 public double startLimit() {
85 return ret;
86 }
87
88 public double endLimit() {
89 double ret = GlobalsPINVOKE.OdGiLightAttenuation_endLimit(swigCPtr);
91 return ret;
92 }
93
94 public void save(OdGsFiler pFiler) {
97 }
98
99 public void load(OdGsFiler pFiler) {
102 }
103
104 public bool IsEqual(OdGiLightAttenuation other) {
107 return ret;
108 }
109
110 public bool IsNotEqual(OdGiLightAttenuation other) {
113 return ret;
114 }
115
121
122 public enum AttenuationType {
123 kNone = 0,
126 }
127
128}
129
130}
static global::System.Exception Retrieve()
static double OdGiLightAttenuation_endLimit(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiLightAttenuation_setAttenuationType(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void OdGiLightAttenuation_setLimits(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3)
static void delete_OdGiLightAttenuation(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiLightAttenuation_load(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void OdGiLightAttenuation_save(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static bool OdGiLightAttenuation_IsNotEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGiLightAttenuation_IsEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdGiLightAttenuation_attenuationType(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiLightAttenuation_setUseLimits(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static double OdGiLightAttenuation_startLimit(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiLightAttenuation_useLimits(global::System.Runtime.InteropServices.HandleRef jarg1)
void setAttenuationType(OdGiLightAttenuation.AttenuationType typ)
OdGiLightAttenuation(IntPtr cPtr, bool cMemoryOwn)
OdGiLightAttenuation.AttenuationType attenuationType()
bool IsEqual(OdGiLightAttenuation other)
virtual void Dispose(bool disposing)
Teigha.Core.OdGiLightAttenuation.AttenuationType vb_attenuationType()
bool IsNotEqual(OdGiLightAttenuation other)
void setLimits(double startlim, double endlim)
static HandleRef getCPtr(OdGiLightAttenuation obj)
static HandleRef getCPtr(OdGsFiler obj)
Definition: OdGsFiler.cs:25