Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGiDistantLightTraitsData.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 OdGiDistantLightTraitsData(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGiDistantLightTraitsData_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGiDistantLightTraitsData 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 OdGiDistantLightTraitsData() : this(GlobalsPINVOKE.new_OdGiDistantLightTraitsData(), true) {
44 }
45
49 return ret;
50 }
51
52 public void setDirection(OdGeVector3d dir) {
55 }
56
57 public bool isSunlight() {
60 return ret;
61 }
62
63 public void setSunlight(bool val) {
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 void skyParameters(OdGiSkyParameters arg0) {
93 }
94
98 }
99
100 public new void save(OdGsFiler pFiler) {
103 }
104
105 public new void load(OdGsFiler pFiler) {
108 }
109
115
121
122}
123
124}
static global::System.Exception Retrieve()
static void delete_OdGiDistantLightTraitsData(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiDistantLightTraitsData_setSkyParameters(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiDistantLightTraitsData_setPhysicalIntensity(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdGiDistantLightTraitsData_setLampColor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGiDistantLightTraitsData_isSunlight(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiDistantLightTraitsData_lampColor(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiDistantLightTraitsData_direction(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiDistantLightTraitsData_setSunlight(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdGiDistantLightTraitsData_skyParameters(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiDistantLightTraitsData_load(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void OdGiDistantLightTraitsData_save(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static double OdGiDistantLightTraitsData_physicalIntensity(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiDistantLightTraitsData_setDirection(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static HandleRef getCPtr(OdGeVector3d obj)
Definition: OdGeVector3d.cs:26
static HandleRef getCPtr(OdGiColorRGB obj)
Definition: OdGiColorRGB.cs:26
static HandleRef getCPtr(OdGiDistantLightTraitsData obj)
Teigha.Core.OdGiLightTraitsData.LightType vb_type()
OdGiDistantLightTraitsData(IntPtr cPtr, bool cMemoryOwn)
OdGiLightTraitsData.LightType type()
static HandleRef getCPtr(OdGiSkyParameters obj)
static HandleRef getCPtr(OdGsFiler obj)
Definition: OdGsFiler.cs:25