Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGiPointLightTraitsData.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
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
20 public OdGiPointLightTraitsData(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGiPointLightTraitsData_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGiPointLightTraitsData obj) {
26 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
27 }
28
29 protected override void Dispose(bool disposing) {
30 lock(this) {
31 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
32 if (swigCMemOwn) {
33 swigCMemOwn = false;
35 }
36 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
37 }
38 base.Dispose(disposing);
39 }
40 }
41
42 public OdGiPointLightTraitsData() : this(GlobalsPINVOKE.new_OdGiPointLightTraitsData(), true) {
44 }
45
49 return ret;
50 }
51
52 public void setPosition(OdGePoint3d pos) {
55 }
56
60 return ret;
61 }
62
66 }
67
68 public double physicalIntensity() {
71 return ret;
72 }
73
74 public void setPhysicalIntensity(double intensity) {
77 }
78
82 return ret;
83 }
84
88 }
89
90 public bool hasTarget() {
93 return ret;
94 }
95
96 public void setHasTarget(bool bTarget) {
99 }
100
104 return ret;
105 }
106
110 }
111
112 public void setHemisphericalDistribution(bool bHemisphere) {
115 }
116
120 return ret;
121 }
122
123 public new void save(OdGsFiler pFiler) {
126 }
127
128 public new void load(OdGsFiler pFiler) {
131 }
132
138
143 public Teigha.Core.OdGePoint3d vb_position() { return this.position(); }
144
145}
146
147}
static global::System.Exception Retrieve()
static global::System.IntPtr OdGiPointLightTraitsData_attenuation(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiPointLightTraitsData_load(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void OdGiPointLightTraitsData_setHemisphericalDistribution(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static global::System.IntPtr OdGiPointLightTraitsData_position(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiPointLightTraitsData_setHasTarget(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static global::System.IntPtr OdGiPointLightTraitsData_targetLocation(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiPointLightTraitsData_setPhysicalIntensity(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static bool OdGiPointLightTraitsData_hemisphericalDistribution(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdGiPointLightTraitsData_physicalIntensity(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiPointLightTraitsData_lampColor(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiPointLightTraitsData_setPosition(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGiPointLightTraitsData_hasTarget(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdGiPointLightTraitsData(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiPointLightTraitsData_setLampColor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiPointLightTraitsData_save(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void OdGiPointLightTraitsData_setAttenuation(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiPointLightTraitsData_setTargetLocation(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
static HandleRef getCPtr(OdGiColorRGB obj)
Definition: OdGiColorRGB.cs:26
static HandleRef getCPtr(OdGiLightAttenuation obj)
OdGiLightTraitsData.LightType type()
OdGiPointLightTraitsData(IntPtr cPtr, bool cMemoryOwn)
Teigha.Core.OdGiLightTraitsData.LightType vb_type()
static HandleRef getCPtr(OdGiPointLightTraitsData obj)
void setAttenuation(OdGiLightAttenuation atten)
static HandleRef getCPtr(OdGsFiler obj)
Definition: OdGsFiler.cs:25