Menu
Lumberyard
User Guide (Version 1.13)

Clone

Creates a copy of the specified material. The material must already be loaded into memory, so that the node can find the material. If the material is not found, the node returns Invalid.


                materialclone, clonematerial, materialclonenode, clonematerialnode

In some cases, you might need to store the material to use later. For more information, see Material Variables.

Warning

Don't trigger this node for every frame. Each time the In event is received, a copy of the material is created.

Contents

Inputs

Pin Type Description
In Event Triggers the node.
Material Material

The material to be cloned.

Outputs

Pin Type Description
Out Event Sends when the node is finished.
Material Material The cloned material.

On this page: