public virtual void SetColor(SWIGTYPE_p_PARENT_NAMESPACE__Color val) { IronSightEnginePINVOKE.ILight_SetColor(swigCPtr, SWIGTYPE_p_PARENT_NAMESPACE__Color.getCPtr(val)); if (IronSightEnginePINVOKE.SWIGPendingException.Pending) { throw IronSightEnginePINVOKE.SWIGPendingException.Retrieve(); } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_PARENT_NAMESPACE__Color obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public virtual SWIGTYPE_p_PARENT_NAMESPACE__Color GetColor() { SWIGTYPE_p_PARENT_NAMESPACE__Color ret = new SWIGTYPE_p_PARENT_NAMESPACE__Color(IronSightEnginePINVOKE.ILight_GetColor(swigCPtr), false); return(ret); }