set_material_diffuse
Assign RGB color values to the diffuse property of a material in PlayCanvas Editor by specifying an asset ID and a color array.
Instructions
Set diffuse property on a material
Input Schema
Name | Required | Description | Default |
---|---|---|---|
assetId | Yes | An asset ID. | |
color | Yes | A 3-channel RGB color |