docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)