public bool RestoreAnimated(int index, Display.RhinoViewport viewport, bool backgroundBitmap, int frames, int frameRate) { IntPtr ptr_const_viewport = viewport.NonConstPointer(); return(UnsafeNativeMethods.RHC_RhinoRestoreNamedView(m_doc.RuntimeSerialNumber, index, ptr_const_viewport, false, true, false, frames, 1.0, frameRate)); }
/// <since>6.0</since> public bool RestoreAnimatedConstantTime(int index, Display.RhinoViewport viewport, int frames, int ms_delay) { IntPtr ptr_const_viewport = viewport.NonConstPointer(); return(UnsafeNativeMethods.RHC_RhinoRestoreNamedView(m_doc.RuntimeSerialNumber, index, ptr_const_viewport, false, true, false, frames, 1.0, ms_delay)); }
/// <since>6.0</since> public bool RestoreAnimatedConstantSpeed(int index, Display.RhinoViewport viewport, double units_per_frame, int ms_delay) { IntPtr ptr_const_viewport = viewport.NonConstPointer(); return(UnsafeNativeMethods.RHC_RhinoRestoreNamedView(m_doc.RuntimeSerialNumber, index, ptr_const_viewport, false, true, true, 10, units_per_frame, ms_delay)); }
/// <since>6.0</since> public bool RestoreWithAspectRatio(int index, Display.RhinoViewport viewport) { IntPtr ptr_const_viewport = viewport.NonConstPointer(); return(UnsafeNativeMethods.RHC_RhinoRestoreNamedView(m_doc.RuntimeSerialNumber, index, ptr_const_viewport, true, false, false, 0, 0.0, 0)); }
/// <summary> /// Get CRhinoViewport* from a RhinoViewport instance /// </summary> /// <param name="viewport"></param> /// <returns></returns> /// <since>6.0</since> public static IntPtr NativeNonConstPointer(Display.RhinoViewport viewport) { return(viewport.NonConstPointer()); }
public bool RestoreAnimated(int index, Display.RhinoViewport viewport, bool backgroundBitmap, int frames, int frameRate) { IntPtr ptr_const_viewport = viewport.NonConstPointer(); return(UnsafeNativeMethods.RHC_RhinoRestoreNamedView(m_doc.m_docId, index, ptr_const_viewport, backgroundBitmap, frames, frameRate)); }