Language
Edit

DataConsumerMaterial.SetObject(Component, Object, Material) Method

Definition

Update the provided component using the objectToSet.

protected override void SetObject(UnityEngine.Component component, object inValue, UnityEngine.Material materialToSet);
override this.SetObject : UnityEngine.Component * obj * UnityEngine.Material -> unit
Protected Overrides Sub SetObject (component As Component, inValue As Object, materialToSet As Material)

Parameters

component
UnityEngine.Component

Which component to update

inValue
Object

Original value from IDataSource

materialToSet
UnityEngine.Material

Applies to