Negate() публичный статический Метод

Returns a vector pointing in the opposite direction.
public static Negate ( Vector2 value ) : Vector2
value Vector2 Source vector.
Результат Vector2
Пример #1
0
        public InkGenerator(Vector2 position, Vector2 blobDirection, Color color, int interval, float speed)
            : base(position, Vector2.Zero, Vector2.Zero, Vector2.Zero, Vector2.Zero, color, true, 
                Vector2.One, new List<AnimationSet>
                    {
                        new AnimationSet(DRIP, ResourceManager.GetTexture("Generator_Drip"), DRIP_NUM_FRAMES, 
                            DRIP_FRAME_WIDTH, FRAME_DURATION)
                    },
                DRIP, blobDirection.Negate().ToAngle())
        {
            reloadTimer = interval;
            this.interval = interval;

            this.blobDirection = blobDirection;
            blobSpeed = speed;
            blobColor = color;
        }