DataConsumerMaterial.SetObject(Component, Object, Material) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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