docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method FromGameObjects

    FromGameObjects(GameObject, GameObject)

    Create a SensorSpatialData from two GameObjects, one representing the ego and the other representing the sensor.

    Declaration
    public static SensorSpatialData FromGameObjects(GameObject ego, GameObject sensor)
    Parameters
    Type Name Description
    GameObject ego

    The ego GameObject.

    GameObject sensor

    The sensor GameObject.

    Returns
    Type Description
    SensorSpatialData

    Returns a SensorSpatialData filled out with EgoPose and SensorPose based on the given objects.

    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)