getMaterialAlbedoColor
getMaterialAlbedoColor
Description
Returns the materials albedo color, if available.
Definition
getMaterialAlbedoColor(entityId materialId)
Arguments
| entityId | materialId |
|---|
Return Values
| boolean | success | Indicates whether the returned color is valid |
|---|---|---|
| float | r | r (0.0 to 1.0) |
| float | g | g (0.0 to 1.0) |
| float | b | b (0.0 to 1.0) |
| float | a | a (0.0 to 1.0) |