Editar

Compartir a través de


SKMatrix44.MapScalars Method

Definition

Overloads

MapScalars(Single[])

Applies the matrix to a vector.

MapScalars(Single[], Single[])

Applies the matrix to a vector.

MapScalars(Single, Single, Single, Single)

Applies the matrix to a vector.

MapScalars(Single[])

Applies the matrix to a vector.

public float[] MapScalars (float[] srcVector4);

Parameters

srcVector4
Single[]

The vector to map. The vector must have exactly 4 items.

Returns

Single[]

Returns a new vector with the matrix applied.

Applies to

MapScalars(Single[], Single[])

Applies the matrix to a vector.

public void MapScalars (float[] srcVector4, float[] dstVector4);

Parameters

srcVector4
Single[]

The vector to map. The vector must have exactly 4 items.

dstVector4
Single[]

The vector that will receive the mapped vector.

Applies to

MapScalars(Single, Single, Single, Single)

Applies the matrix to a vector.

public float[] MapScalars (float x, float y, float z, float w);

Parameters

x
Single

The x-value of the vector.

y
Single

The y-value of the vector.

z
Single

The z-value of the vector.

w
Single

The w-value of the vector.

Returns

Single[]

Returns a new vector with the matrix applied.

Applies to