Struct WheelOnVehicleReference
Stores reference to the vehicle this wheel belongs to.
Inherited Members
Namespace: Unity.Vehicles
Assembly: com.unity.vehicles.dll
Syntax
public struct WheelOnVehicleReference : IComponentData, IQueryTypeParameter
Fields
Index
Index of the wheel in the vehicle wheels buffer.
Declaration
public int Index
Field Value
| Type | Description |
|---|---|
| int |
VehicleEntity
Vehicle this wheel belongs to.
Declaration
public Entity VehicleEntity
Field Value
| Type | Description |
|---|---|
| Entity |