MrGravity.Camera.Move C# (CSharp) Méthode

Move() public méthode

Moves the camera by the desired amount
public Move ( Microsoft.Xna.Framework.Vector3 amount ) : void
amount Microsoft.Xna.Framework.Vector3 Vector3 representing the amount to move in each direction
Résultat void
        public void Move(Vector3 amount)
        {
            Position += amount;
        }