public Color3B(Color4B color) : this(CocoStudioEngineAdapterPINVOKE.new_Color3B__SWIG_2(Color4B.getCPtr(color)), true) { if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending) { throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve(); } }
public static HandleRef getCPtr(Color4B obj) { return(obj == null ? new HandleRef((object)null, IntPtr.Zero) : obj.swigCPtr); }