Menu
Lumberyard
User Guide (Version 1.14)

On Ready

This node is triggered when the material owner finishes loading its assets. We recommend that you use this event to trigger functions for the Get Param* and Set Param* nodes (for example, the Get Param Color and Set Param Color nodes). Otherwise, the material asset might not be available when the script is first activated. For example, a Mesh component does not load its mesh until at least one frame after the script starts.

Contents


                onmaterialownerreadynode, onmaterialownerready

Inputs

Pin Type Description
Source EntityID

References a specific entity from which events are generated. By default, it references Self, the entity to which the Script Canvas component attaches the current script.

You can also specify another entity. For more information, see Referencing Entities for Nodes.

Outputs

Pin Type Description
Out Event Sends when the material owner's material is available for use.

On this page: