public static IDirect3D CreateDirect3D() { global::System.IntPtr cPtr = IronSightEnginePINVOKE.CreateDirect3D(); IDirect3D ret = (cPtr == global::System.IntPtr.Zero) ? null : new IDirect3D(cPtr, false); return(ret); }
public IDirect3D __deref__() { global::System.IntPtr cPtr = IronSightEnginePINVOKE.Direct3D___deref__(swigCPtr); IDirect3D ret = (cPtr == global::System.IntPtr.Zero) ? null : new IDirect3D(cPtr, false); return(ret); }
/// <summary> /// /// </summary> /// <param name="oldValue"></param> /// <param name="newValue"></param> private void OnRendererChanged(IDirect3D oldValue, IDirect3D newValue) { UpdateSize(); UpdateReallyLoopRendering(); Focusable = newValue is IInteractiveDirect3D; }
private void OnRendererChanged(IDirect3D oldValue, IDirect3D newValue) { UpdateSize(); UpdateReallyLoopRendering(); Focusable = newValue is IInteractiveDirect3D; }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(IDirect3D obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
private void OnRendererChanged(IDirect3D oldValue, IDirect3D newValue) { UpdateSize(); Focusable = false; }
public Direct3D(IDirect3D src) : this(IronSightEnginePINVOKE.new_Direct3D__SWIG_1(IDirect3D.getCPtr(src)), true) { }