Düzenle

Aracılığıyla paylaş


Vector2.Scale Method

Definition

Overloads

Scale(Vector2)
Obsolete.

Scales this instance by the given parameter.

Scale(Vector2)
Obsolete.

Scales this instance by the given parameter.

Scale(Single, Single)
Obsolete.

Scales the current Vector2 by the given amounts.

Scale(Vector2)

Caution

Use static Multiply() method instead.

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

The scaling of the individual components.

Attributes

Applies to

Scale(Vector2)

Caution

Use static Multiply() method instead.

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

The scaling of the individual components.

Attributes

Applies to

Scale(Single, Single)

Caution

Use static Multiply() method instead.

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

The scale of the X component.

sy
Single

The scale of the Y component.

Attributes

Applies to