init_from_vec2


Description:

[ Version ( since = "1.0" ) ]
public unowned Vec4? init_from_vec2 (Vec2 src, float z, float w)

Initializes a Vec4 using the components of a Vec2 and the values of z and w.

Parameters:

this

a Vec4

src

a Vec2

z

the value for the third component of this

w

the value for the fourth component of this

Returns:

the initialized vector




2022 vala-language.org