Method CreateCustomPasses
CreateCustomPasses(GameObject, List<CustomPassDescriptor>)
Look for existing custom passes on the parent gameobject. This function will also build missing custompasses according to the custompass parameters found in the _sensorData descriptor.
Declaration
public static void CreateCustomPasses(GameObject gameObject, List<CustomPassDescriptor> lstCustomPassDescriptor)
Parameters
Type | Name | Description |
---|---|---|
GameObject | gameObject | Object that will contain the custom pass. |
List<CustomPassDescriptor> | lstCustomPassDescriptor | A list of custom pass description to build. |