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. |