Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGiShadowParameters.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 OdGiShadowParameters : 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 OdGiShadowParameters(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(OdGiShadowParameters 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 OdGiShadowParameters() : this(GlobalsPINVOKE.new_OdGiShadowParameters__SWIG_0(), true) {
53 }
54
55 public OdGiShadowParameters(OdGiShadowParameters parms) : this(GlobalsPINVOKE.new_OdGiShadowParameters__SWIG_1(OdGiShadowParameters.getCPtr(parms)), true) {
57 }
58
62 return ret;
63 }
64
65 public bool IsEqual(OdGiShadowParameters parms) {
68 return ret;
69 }
70
71 public bool IsNotEqual(OdGiShadowParameters parms) {
74 return ret;
75 }
76
77 public void setShadowsOn(bool on) {
80 }
81
82 public bool shadowsOn() {
85 return ret;
86 }
87
91 }
92
96 return ret;
97 }
98
99 public bool setShadowMapSize(UInt16 /*SIMPLETYPE*/ sz) {
100 bool ret = GlobalsPINVOKE.OdGiShadowParameters_setShadowMapSize(swigCPtr, sz /*SIMPLETYPE*/);
102 return ret;
103 }
104
105 public UInt16 shadowMapSize() {
106// test csout
107 /*SIMPLETYPE*/
110 return ret;
111 }
112
113 public bool setShadowMapSoftness(byte /*SIMPLETYPE*/ soft) {
114 bool ret = GlobalsPINVOKE.OdGiShadowParameters_setShadowMapSoftness(swigCPtr, soft /*SIMPLETYPE*/);
116 return ret;
117 }
118
119 public byte shadowMapSoftness() {
120// test csout
121 /*SIMPLETYPE*/
124 return ret;
125 }
126
127 public bool setShadowSamples(UInt16 /*SIMPLETYPE*/ nSamples) {
128 bool ret = GlobalsPINVOKE.OdGiShadowParameters_setShadowSamples(swigCPtr, nSamples /*SIMPLETYPE*/);
130 return ret;
131 }
132
133 public UInt16 shadowSamples() {
134// test csout
135 /*SIMPLETYPE*/
138 return ret;
139 }
140
141 public void setShapeVisibility(bool bVisibility) {
144 }
145
146 public bool shapeVisibility() {
149 return ret;
150 }
151
155 }
156
160 return ret;
161 }
162
163 public bool setExtendedLightLength(double dLength) {
166 return ret;
167 }
168
169 public double extendedLightLength() {
172 return ret;
173 }
174
175 public bool setExtendedLightWidth(double dWidth) {
178 return ret;
179 }
180
181 public double extendedLightWidth() {
184 return ret;
185 }
186
187 public bool setExtendedLightRadius(double dRadius) {
190 return ret;
191 }
192
193 public double extendedLightRadius() {
196 return ret;
197 }
198
199 public void save(OdGsFiler pFiler) {
202 }
203
204 public void load(OdGsFiler pFiler) {
207 }
208
214
220
221 public enum ShadowType {
225 }
226
227 public enum ExtendedLightShape {
228 kLinear = 0,
230 kDisk,
231 kCylinder,
232 kSphere
233 }
234
235}
236
237}
static global::System.Exception Retrieve()
static bool OdGiShadowParameters_setExtendedLightWidth(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static bool OdGiShadowParameters_setShadowMapSoftness(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2)
static void OdGiShadowParameters_setShadowType(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void OdGiShadowParameters_setShadowsOn(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdGiShadowParameters_shapeVisibility(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt16 OdGiShadowParameters_shadowSamples(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiShadowParameters_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static byte OdGiShadowParameters_shadowMapSoftness(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt16 OdGiShadowParameters_shadowMapSize(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiShadowParameters_setExtendedLightLength(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static int OdGiShadowParameters_extendedLightShape(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiShadowParameters_setExtendedLightShape(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static bool OdGiShadowParameters_setShadowMapSize(global::System.Runtime.InteropServices.HandleRef jarg1, UInt16 jarg2)
static double OdGiShadowParameters_extendedLightLength(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdGiShadowParameters_extendedLightRadius(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiShadowParameters_setShapeVisibility(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdGiShadowParameters_setExtendedLightRadius(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static bool OdGiShadowParameters_shadowsOn(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdGiShadowParameters(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiShadowParameters_IsNotEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdGiShadowParameters_shadowType(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiShadowParameters_IsEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiShadowParameters_save(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void OdGiShadowParameters_load(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static double OdGiShadowParameters_extendedLightWidth(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiShadowParameters_setShadowSamples(global::System.Runtime.InteropServices.HandleRef jarg1, UInt16 jarg2)
OdGiShadowParameters.ShadowType shadowType()
OdGiShadowParameters.ExtendedLightShape extendedLightShape()
OdGiShadowParameters Assign(OdGiShadowParameters parms)
bool IsEqual(OdGiShadowParameters parms)
static HandleRef getCPtr(OdGiShadowParameters obj)
void setShapeVisibility(bool bVisibility)
bool setExtendedLightLength(double dLength)
void setExtendedLightShape(OdGiShadowParameters.ExtendedLightShape lightShape)
bool setExtendedLightRadius(double dRadius)
void setShadowType(OdGiShadowParameters.ShadowType typ)
Teigha.Core.OdGiShadowParameters.ExtendedLightShape vb_extendedLightShape()
OdGiShadowParameters(IntPtr cPtr, bool cMemoryOwn)
Teigha.Core.OdGiShadowParameters.ShadowType vb_shadowType()
bool IsNotEqual(OdGiShadowParameters parms)
virtual void Dispose(bool disposing)
OdGiShadowParameters(OdGiShadowParameters parms)
static HandleRef getCPtr(OdGsFiler obj)
Definition: OdGsFiler.cs:25