Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdGiLightTraitsData.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 OdGiLightTraitsData : 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 OdGiLightTraitsData(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(OdGiLightTraitsData 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
56
57 public bool isOn() {
58 bool ret = GlobalsPINVOKE.OdGiLightTraitsData_isOn(swigCPtr);
60 return ret;
61 }
62
67
68 public double intensity() {
69 double ret = GlobalsPINVOKE.OdGiLightTraitsData_intensity(swigCPtr);
71 return ret;
72 }
73
78
84
89
95
100
106
111
116
121
126
131
136
142
148
154
155 public enum LightType {
156 kInvalidLight = -1
157 }
158
159}
160
161}
static global::System.Exception Retrieve()
static double OdGiLightTraitsData_intensity(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiLightTraitsData_setIntensity(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static int OdGiLightTraitsData_type(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiLightTraitsData_resetLightTransform(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiLightTraitsData_setLightTransform(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGiLightTraitsData_isLightTransformed(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiLightTraitsData_setColor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiLightTraitsData_save(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static bool OdGiLightTraitsData_isOn(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiLightTraitsData_setShadowParameters(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdGiLightTraitsData_drawableLightType(HandleRef jarg1)
static void delete_OdGiLightTraitsData(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiLightTraitsData_load(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void OdGiLightTraitsData_addLightTransform(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGiLightTraitsData_shadowParameters(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiLightTraitsData_setOn(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static global::System.IntPtr OdGiLightTraitsData_color(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiLightTraitsData_deleteLightTraitsData(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiLightTraitsData_lightTransformationMatrix(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdCmEntityColor obj)
static HandleRef getCPtr(OdGeMatrix3d obj)
static HandleRef getCPtr(OdGiDrawable obj)
void setLightTransform(OdGeMatrix3d xForm)
void setColor(OdCmEntityColor color)
static void deleteLightTraitsData(OdGiLightTraitsData pLightTraits)
void setShadowParameters(OdGiShadowParameters params_)
void addLightTransform(OdGeMatrix3d xForm)
OdGiShadowParameters shadowParameters()
Teigha.Core.OdGiLightTraitsData.LightType vb_type()
static OdGiLightTraitsData.LightType drawableLightType(OdGiDrawable pDrawable)
static HandleRef getCPtr(OdGiLightTraitsData obj)
virtual void Dispose(bool disposing)
OdGiLightTraitsData(IntPtr cPtr, bool cMemoryOwn)
OdGiLightTraitsData.LightType type()
void setIntensity(double dIntensity)
static HandleRef getCPtr(OdGiShadowParameters obj)
static HandleRef getCPtr(OdGsFiler obj)
Definition OdGsFiler.cs:25