Axiom.Core.Node.ResetToInitialState C# (CSharp) Méthode

ResetToInitialState() public méthode

Resets the position / orientation / scale of this node to its initial state, see SetInitialState for more info.
public ResetToInitialState ( ) : void
Résultat void
		public virtual void ResetToInitialState()
		{
			position = initialPosition;
			orientation = initialOrientation;
			scale = initialScale;

			// Reset weights
			accumAnimWeight = 0.0f;
			translationFromInitial = Vector3.Zero;
			rotationFromInitial = Quaternion.Identity;
			scaleFromInitial = Vector3.UnitScale;

			NeedUpdate();
		}