Declaration
func SetMaterialProperty(target entity<LevelObject>, propertyName string, propertyValue MaterialProperty, out var success bool)
go
Parameters
Input
| Name | Type | Description |
|---|---|---|
| Target | LevelObject | The target object to get the material property for |
| Property Name | String | Set the name of the property |
| Property Value | MaterialProperty | Set the value of the property |
Out
| Name | Type | Description |
|---|---|---|
| Success | Bool | Set whether it’s successful or not |