InvalidateClipping() private method

Invalidate the panel's clipping, calling child panels in turn.
private InvalidateClipping ( ) : void
return void
Beispiel #1
0
	/// <summary>
	/// Invalidate the panel's clipping, calling child panels in turn.
	/// </summary>

	void InvalidateClipping ()
	{
		mResized = true;
		mMatrixFrame = -1;
		mCullTime = (mCullTime == 0f) ? 0.001f : RealTime.time + 0.15f;

		for (int i = 0, imax = list.Count; i < imax; ++i)
		{
			UIPanel p = list[i];
			if (p != this && p.parentPanel == this)
				p.InvalidateClipping();
		}
	}
Beispiel #2
0
    private void InvalidateClipping()
    {
        mResized     = true;
        mMatrixFrame = -1;
        mCullTime    = ((mCullTime != 0f) ? (RealTime.time + 0.15f) : 0.001f);
        int i = 0;

        for (int count = list.Count; i < count; i++)
        {
            UIPanel uIPanel = list[i];
            if (uIPanel != this && uIPanel.parentPanel == this)
            {
                uIPanel.InvalidateClipping();
            }
        }
    }
Beispiel #3
0
    private void InvalidateClipping()
    {
        this.mResized     = true;
        this.mMatrixFrame = -1;
        Int32 i     = 0;
        Int32 count = UIPanel.list.Count;

        while (i < count)
        {
            UIPanel uipanel = UIPanel.list[i];
            if (uipanel != this && uipanel.parentPanel == this)
            {
                uipanel.InvalidateClipping();
            }
            i++;
        }
    }
Beispiel #4
0
    private void InvalidateClipping()
    {
        this.mResized     = true;
        this.mMatrixFrame = -1;
        this.mCullTime    = ((this.mCullTime != 0f) ? (RealTime.time + 0.15f) : 0.001f);
        int i     = 0;
        int count = UIPanel.list.Count;

        while (i < count)
        {
            UIPanel uIPanel = UIPanel.list[i];
            if (uIPanel != this && uIPanel.parentPanel == this)
            {
                uIPanel.InvalidateClipping();
            }
            i++;
        }
    }