BBMOD_MaterialPropertyBlock.set_matrix

A function defined in BBMOD_MaterialPropertyBlock.gml

set_matrix(_name)

Description

Sets a value of a BBMOD_EShaderUniformType.Matrix property.

Arguments

Name Type Description
_name String The name of the property (shader uniform name).

Returns

Struct.BBMOD_MaterialPropertyBlock Returns self.

Example

var _materialProps = new BBMOD_MaterialPropertyBlock();
_materialProps.set_matrix("u_mMatrix");

Note

This is a shorthand for set(name, BBMOD_EShaderUniformType.Matrix, undefined).

See also

BBMOD_MaterialPropertyBlock.set

Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on April 26, 2024 using GMDoc.