public static MtRotateAround Create(float duration, Vector3 point, Vector3 axis, float angle) { MtRotateAround rotateAround = new MtRotateAround(); if (rotateAround.InitWithDuration(duration, point, axis, angle)) { return(rotateAround); } return(null); }
public override MtICloneable Clone() { //no copy constructor MtRotateAround rotateAround = new MtRotateAround(); if (m_is3D) { rotateAround.InitWithDuration(m_duration, m_point, m_axis, m_deltaAngle); } return(rotateAround); }