Set Material Property

วัตถุบนเวที
ฝั่ง Client
ทั้งมือถือและ PC

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