Contents

init(name:float:)

Initializes a new uniform object that holds a 3 x 3 matrix of floating-point numbers.

Declaration

init(name: String, float value: GLKMatrix3)

Parameters

  • name:

    The name used to identify the uniform variable; you use this name inside your shader to read the uniform variable’s value.

  • value:

    The initial matrix for the uniform variable.

Return Value

An initialized uniform object whose type is set to SKUniformType.floatMatrix3.

See Also

Creating and Initializing Uniform Objects