Set material properties on an entity
Camera and render
Set material properties on an entity
POST
Set material properties on an entity
Body
application/json
Required range:
x >= 0Albedo color as [r, g, b, a]
Alpha mode: "opaque", "blend", or "mask:0.5"
Emissive color as [r, g, b]
Metallic factor (0.0 - 1.0)
Roughness factor (0.0 - 1.0)