Vector2d.Scale Method

Definition

Overloads

Scale(Vector2d)

Scales this instance by the given parameter.

Scale(Vector2d)

Scales this instance by the given parameter.

Scale(Double, Double)

Scales the current Vector2 by the given amounts.

Scale(Vector2d)

Warning

This API is now obsolete.

Scales this instance by the given parameter.

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

Parameters

scale
Vector2d

The scaling of the individual components.

Attributes

Scale(Vector2d)

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.Vector2d scale);
member this.Scale :  -> unit

Parameters

scale
Vector2d

The scaling of the individual components.

Attributes

Scale(Double, Double)

Warning

This API is now obsolete.

Scales the current Vector2 by the given amounts.

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

Parameters

sx
Double

The scale of the X component.

sy
Double

The scale of the Y component.

Attributes

Applies to