//-------------------------------------------------------------------------
	// Deep-copy constructor.
	public RegionIndependentParametersBase(RegionIndependentParametersBase src) {
		
		mLiveUpdate = src.mLiveUpdate;
		mAlphaOpaqueThreshold = src.mAlphaOpaqueThreshold;
		mVertexReductionDistanceTolerance = src.mVertexReductionDistanceTolerance;
		mDefaultMaxPointCount = src.mDefaultMaxPointCount;
		mThickness = src.mThickness;
		mFlipHorizontal = src.mFlipHorizontal;
		mFlipVertical = src.mFlipVertical;
		mConvex = src.mConvex;
		mFlipInsideOutside = src.mFlipInsideOutside;
				
		mCustomRotation = src.mCustomRotation;
		mCustomScale = src.mCustomScale;
		mCustomOffset = src.mCustomOffset;
				
		mCustomTex = src.mCustomTex;
				
		mIsCustomAtlasRegionUsed = src.mIsCustomAtlasRegionUsed;
		mCustomAtlasFrameTitle = src.mCustomAtlasFrameTitle;
		
		mCustomAtlasFramePositionInPixels = src.mCustomAtlasFramePositionInPixels;
		mCustomAtlasFrameSizeInPixels = src.mCustomAtlasFrameSizeInPixels;
		mCustomAtlasFrameRotation = src.mCustomAtlasFrameRotation;
						
		mUpdateCalculationNeeded = src.mUpdateCalculationNeeded;
		mUpdatedThickness = src.mUpdatedThickness;
	}
    //-------------------------------------------------------------------------
    // Deep-copy constructor.
    public RegionIndependentParametersBase(RegionIndependentParametersBase src)
    {
        mLiveUpdate                       = src.mLiveUpdate;
        mAlphaOpaqueThreshold             = src.mAlphaOpaqueThreshold;
        mVertexReductionDistanceTolerance = src.mVertexReductionDistanceTolerance;
        mDefaultMaxPointCount             = src.mDefaultMaxPointCount;
        mThickness         = src.mThickness;
        mFlipHorizontal    = src.mFlipHorizontal;
        mFlipVertical      = src.mFlipVertical;
        mConvex            = src.mConvex;
        mFlipInsideOutside = src.mFlipInsideOutside;

        mCustomRotation = src.mCustomRotation;
        mCustomScale    = src.mCustomScale;
        mCustomOffset   = src.mCustomOffset;

        mCustomTex = src.mCustomTex;

        mIsCustomAtlasRegionUsed = src.mIsCustomAtlasRegionUsed;
        mCustomAtlasFrameTitle   = src.mCustomAtlasFrameTitle;

        mCustomAtlasFramePositionInPixels = src.mCustomAtlasFramePositionInPixels;
        mCustomAtlasFrameSizeInPixels     = src.mCustomAtlasFrameSizeInPixels;
        mCustomAtlasFrameRotation         = src.mCustomAtlasFrameRotation;

        mUpdateCalculationNeeded = src.mUpdateCalculationNeeded;
        mUpdatedThickness        = src.mUpdatedThickness;
    }
    //-------------------------------------------------------------------------
    // Deep-copy constructor.
    public RegionIndependentParametersBase(RegionIndependentParametersBase src)
    {
        mLiveUpdate                       = src.mLiveUpdate;
        mAlphaOpaqueThreshold             = src.mAlphaOpaqueThreshold;
        mVertexReductionDistanceTolerance = src.mVertexReductionDistanceTolerance;
        mDefaultMaxPointCount             = src.mDefaultMaxPointCount;
        mThickness         = src.mThickness;
        mFlipHorizontal    = src.mFlipHorizontal;
        mFlipVertical      = src.mFlipVertical;
        mConvex            = src.mConvex;
        mIsTrigger         = src.mIsTrigger;
        mFlipInsideOutside = src.mFlipInsideOutside;

        mLowerTop     = src.mLowerTop;
        mRaiseBottom  = src.mRaiseBottom;
        mCutLeft      = src.mCutLeft;
        mCutRight     = src.mCutRight;
        mExpandTop    = src.mExpandTop;
        mExpandBottom = src.mExpandBottom;
        mExpandLeft   = src.mExpandLeft;
        mExpandRight  = src.mExpandRight;

        mCustomRotation = src.mCustomRotation;
        mCustomScale    = src.mCustomScale;
        mCustomOffset   = src.mCustomOffset;

        mCustomTex = src.mCustomTex;
        mSyncToParentSpriteRenderer = src.mSyncToParentSpriteRenderer;

        mIsCustomAtlasRegionUsed = src.mIsCustomAtlasRegionUsed;
        mCustomAtlasFrameTitle   = src.mCustomAtlasFrameTitle;

        mCustomAtlasFramePositionInPixels = src.mCustomAtlasFramePositionInPixels;
        mCustomAtlasFrameSizeInPixels     = src.mCustomAtlasFrameSizeInPixels;
        mCustomAtlasFrameRotation         = src.mCustomAtlasFrameRotation;

        mUpdateCalculationNeeded         = src.mUpdateCalculationNeeded;
        mSimpleColliderParametersChanged = src.mSimpleColliderParametersChanged;
        mUpdatedThickness = src.mUpdatedThickness;
    }