コード例 #1
0
ファイル: Color3B.cs プロジェクト: yuluos/CocoStudio2.0.6
 public Color3B(Color4F color)
     : this(CocoStudioEngineAdapterPINVOKE.new_Color3B__SWIG_3(Color4F.getCPtr(color)), true)
 {
     if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending)
     {
         throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
        public bool equals(Color4F other)
        {
            bool flag = CocoStudioEngineAdapterPINVOKE.Color4F_equals(this.swigCPtr, Color4F.getCPtr(other));

            if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending)
            {
                throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve();
            }
            return(flag);
        }