DarkBASIC Professional Help File

DX11 CREATE VECTOR4

Creates a new vector4 instance. Its initial values can either be provided to this function or not;
if they are omitted, the vector will be initialized to all 0.0 components.

Syntax

    Return Dword = DX11 CREATE VECTOR4([x], [y], [z], [w])

Parameters

    [Optional] x

> Float
> The initial X component of the created vector.

    [Optional] y

> Float
> The initial Y component of the created vector.

    [Optional] z

> Float
> The initial Z component of the created vector.

    [Optional] w

> Float
> The initial W component of the created vector.

Returns

The created vector4.

See also

MATH Functions Menu
DX11 Function Categories