Class RayPerceptionSensorComponent3D
A component for 3D Ray Perception.
Inherited Members
Namespace: Unity.MLAgents.Sensors
Syntax
public class RayPerceptionSensorComponent3D : RayPerceptionSensorComponentBase
Properties
EndVerticalOffset
Ray end is offset up or down by this amount.
Declaration
public float EndVerticalOffset { get; set; }
Property Value
Type | Description |
---|---|
Single |
StartVerticalOffset
Ray start is offset up or down by this amount.
Declaration
public float StartVerticalOffset { get; set; }
Property Value
Type | Description |
---|---|
Single |
Methods
GetCastType()
Returns the RayPerceptionCastType for the associated raycast sensor.
Declaration
public override RayPerceptionCastType GetCastType()
Returns
Type | Description |
---|---|
RayPerceptionCastType |
Overrides
GetEndVerticalOffset()
Returns the amount that the ray end is offset up or down by.
Declaration
public override float GetEndVerticalOffset()
Returns
Type | Description |
---|---|
Single |
Overrides
GetStartVerticalOffset()
Returns the amount that the ray start is offset up or down by.
Declaration
public override float GetStartVerticalOffset()
Returns
Type | Description |
---|---|
Single |