internal override IntPtr _InternalGetConstPointer() { Rhino.DocObjects.Tables.LightTableEventArgs lte = m__parent as Rhino.DocObjects.Tables.LightTableEventArgs; if (lte != null) { return(lte.ConstLightPointer()); } return(base._InternalGetConstPointer()); }
internal override IntPtr _InternalGetConstPointer() { Rhino.DocObjects.Tables.LightTableEventArgs lte = m__parent as Rhino.DocObjects.Tables.LightTableEventArgs; if (lte != null) { return(lte.ConstLightPointer()); } var pipeline = m__parent as Display.DisplayPipeline; if (pipeline != null) { IntPtr pipeline_ptr = pipeline.NonConstPointer(); return(UnsafeNativeMethods.CRhinoDisplayPipeline_GetLight(pipeline_ptr, m_subobject_index)); } return(base._InternalGetConstPointer()); }
/// <summary> /// A light table event has occurred /// </summary> void OnLightTableEvent(object sender, Rhino.DocObjects.Tables.LightTableEventArgs e) { RhinoApp.WriteLine("** EVENT: Light Table: {0} **", e.EventType.ToString()); }
/// <summary> /// A light table event has occurred /// </summary> public static void OnLightTableEvent(object sender, Rhino.DocObjects.Tables.LightTableEventArgs e) { RhinoApp.WriteLine("> LightTableEvent"); RhinoApp.WriteLine(" EventType = {0} **", e.EventType); }
/// <summary> /// A light table event has occurred /// </summary> void OnLightTableEvent(object sender, Rhino.DocObjects.Tables.LightTableEventArgs e) { DebugWriteMethod(); }