Vector2.Scale Vector2.Scale Method

Definition

Overloads

Scale(Vector2) Scale(Vector2)

Scales this instance by the given parameter.

Scale(Vector2) Scale(Vector2)

Scales this instance by the given parameter.

Scale(Single, Single) Scale(Single, Single)

Scales the current Vector2 by the given amounts.

Scale(Vector2) Scale(Vector2)

Warning

This API is now obsolete.

Scales this instance by the given parameter.

[System.Obsolete("Use static Multiply() method instead.")]
public void Scale (OpenTK.Vector2 scale);
member this.Scale : OpenTK.Vector2 -> unit

Parameters

scale
Vector2 Vector2

The scaling of the individual components.

Scale(Vector2) Scale(Vector2)

Warning

This API is now obsolete.

Important

This API is not CLS-compliant.

Scales this instance by the given parameter.

[System.CLSCompliant(false)]
[System.Obsolete("Use static Multiply() method instead.")]
public void Scale (ref OpenTK.Vector2 scale);
member this.Scale :  -> unit

Parameters

scale
Vector2 Vector2

The scaling of the individual components.

Scale(Single, Single) Scale(Single, Single)

Warning

This API is now obsolete.

Scales the current Vector2 by the given amounts.

[System.Obsolete("Use static Multiply() method instead.")]
public void Scale (float sx, float sy);
member this.Scale : single * single -> unit

Parameters

sx
Single Single

The scale of the X component.

sy
Single Single

The scale of the Y component.

Applies to