bbmod_material_props_get

A function defined in BBMOD_MaterialPropertyBlock.gml

bbmod_material_props_get()

Description

Retrieves the current material property block.

Returns

Struct.BBMOD_MaterialPropertyBlock The current material property block or undefined.

Example

var _materialProps = new BBMOD_MaterialPropertyBlock();
bbmod_material_props_set(_materialProps);
bbmod_material_props_get(); // => _materialProps
bbmod_material_props_reset();
bbmod_material_props_get(); // => undefined

See also

BBMOD_MaterialPropertyBlock, bbmod_material_props_reset, bbmod_material_props_set

Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on September 07, 2024 using GMDoc.