Method Activate
Activate(PhotosensorData, GameObject, Action<CustomPassContext>)
Initializes the sensing component.
Declaration
public virtual void Activate(PhotosensorData photosensorData, GameObject referenceObject, Action<CustomPassContext> callback)
Parameters
Type | Name | Description |
---|---|---|
PhotosensorData | photosensorData | Information define on the photosensor node. |
GameObject | referenceObject | The game object used as reference frame to return results. |
Action<CustomPassContext> | callback | Provides a callback to invoke when the scene sampling is completed. |