Exemplo n.º 1
0
        /// <summary>
        ///     Copies the instance values and assigns them to the target.
        /// </summary>
        /// <param name="target">Target.</param>
        public void DeepCopyInto(Vector3RangeAttribute target)
        {
            target.rangeMode = m_RangeMode;

            target.linear = m_Linear;

            target.constValueA.vector = m_ConstValueA.vector;
            target.constValueB.vector = m_ConstValueB.vector;

            m_CurvesA.DeepCopyInto(target.curvesA);
            m_CurvesB.DeepCopyInto(target.curvesB);
        }
		/// <summary>
		/// 	Copies the instance values and assigns them to the target.
		/// </summary>
		/// <param name="target">Target.</param>
		public void DeepCopyInto(Vector3RangeAttribute target)
		{
			target.rangeMode = m_RangeMode;

			target.linear = m_Linear;

			target.constValueA.vector = m_ConstValueA.vector;
			target.constValueB.vector = m_ConstValueB.vector;

			m_CurvesA.DeepCopyInto(target.curvesA);
			m_CurvesB.DeepCopyInto(target.curvesB);
		}