public ComparisonMaterialBinder() { _binderEls = new ComparisonELSBinder(); _binderTM = new ComparisonTMBinder(); _binderMaterial = new MaterialBinder(); _binderPropertyEls = new PropertyElsBinder(); _binderPropertyTMMetals = new PropertyTMMetalsBinder(); _binderPropertyTMPlus = new PropertyTMPlusBinder(); _binderProperty = new PropertyBinder(); _binderConditionTMPlus = new ConditionTMPlusBinder(); _binderConditionTMMetals = new ConditionTMMetalsBinder(); }
public ExporterBinder() { _conditionBinder = new ConditionBinder(); _materialBinder = new MaterialBinder(); _propertyBinder = new PropertyBinder(); }
/// <summary> /// Request an object to be bound at a later time in a vectorized request. /// </summary> /// <param name="usdPath">The USD path to the object.</param> /// <param name="binder"> /// A callback which will accept the material and bind it to a Unity object /// </param> public void RequestBinding(string usdPath, MaterialBinder binder) { m_requestedBindings.Add(usdPath, binder); }