Method SetMaterialUserData
SetMaterialUserData(uint, uint, IntPtr)
Set or replace a userdata stored on an material
Declaration
public void SetMaterialUserData(uint userDataId, uint material, IntPtr userData)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | userDataId | UserData identifier provided by subscribeToMaterialUserData |
| uint | material | Material that will store the user data |
| IntPtr | userData | User data to store in the given material |