Set Material Property

عنصر المرحلة
جانب العميل
للهاتف المحمول والكمبيوتر الشخصي

This API allows you to modify certain properties of an object's material.

إقرار

func SetMaterialProperty(target entity<LevelObject>, propertyName string, propertyValue MaterialProperty, out var success bool)
go

معلمات

إدخال

اسم نوع تفاصيل
الهدف 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

خارج

اسم نوع تفاصيل
Success Bool Set whether it’s successful or not