Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGiSpotLightTraitsData.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 OdGiSpotLightTraitsData(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGiSpotLightTraitsData_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGiSpotLightTraitsData 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 OdGiSpotLightTraitsData() : this(GlobalsPINVOKE.new_OdGiSpotLightTraitsData(), true) {
44 }
45
49 return ret;
50 }
51
52 public void setPosition(OdGePoint3d pos) {
55 }
56
60 return ret;
61 }
62
63 public void setTarget(OdGePoint3d trg) {
66 }
67
71 return ret;
72 }
73
77 }
78
79 public bool setHotspotAndFalloff(double hotSpot, double falloff) {
82 return ret;
83 }
84
85 public double hotspot() {
88 return ret;
89 }
90
91 public double falloff() {
94 return ret;
95 }
96
97 public double physicalIntensity() {
100 return ret;
101 }
102
103 public void setPhysicalIntensity(double intensity) {
106 }
107
111 return ret;
112 }
113
117 }
118
119 public new void save(OdGsFiler pFiler) {
122 }
123
124 public new void load(OdGsFiler pFiler) {
127 }
128
134
139 public Teigha.Core.OdGePoint3d vb_position() { return this.position(); }
140
145 public Teigha.Core.OdGePoint3d vb_target() { return this.target(); }
146
147}
148
149}
static global::System.Exception Retrieve()
static void OdGiSpotLightTraitsData_setTarget(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiSpotLightTraitsData_save(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void OdGiSpotLightTraitsData_setPhysicalIntensity(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdGiSpotLightTraitsData_load(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static double OdGiSpotLightTraitsData_physicalIntensity(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdGiSpotLightTraitsData_hotspot(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiSpotLightTraitsData_setHotspotAndFalloff(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3)
static global::System.IntPtr OdGiSpotLightTraitsData_lampColor(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSpotLightTraitsData_setLampColor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiSpotLightTraitsData_setPosition(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGiSpotLightTraitsData_target(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdGiSpotLightTraitsData(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSpotLightTraitsData_setAttenuation(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGiSpotLightTraitsData_position(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiSpotLightTraitsData_attenuation(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdGiSpotLightTraitsData_falloff(global::System.Runtime.InteropServices.HandleRef jarg1)
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()
Teigha.Core.OdGiLightTraitsData.LightType vb_type()
static HandleRef getCPtr(OdGiSpotLightTraitsData obj)
bool setHotspotAndFalloff(double hotSpot, double falloff)
OdGiSpotLightTraitsData(IntPtr cPtr, bool cMemoryOwn)
void setAttenuation(OdGiLightAttenuation atten)
override void Dispose(bool disposing)
static HandleRef getCPtr(OdGsFiler obj)
Definition: OdGsFiler.cs:25