Struct GhostConnectionPosition
Add this component to each connection to determine which tiles the connection should prioritize. This will be passed as argument to the built-in scale function to compute Importance. See GhostDistanceImportance implementation.
Implements
IComponentData
IQueryTypeParameter
Inherited Members
Namespace: Unity.NetCode
Assembly: Unity.NetCode.dll
Syntax
public struct GhostConnectionPosition : IComponentData, IQueryTypeParameter
Fields
Position
Position of the tile in world coordinates
Declaration
public float3 Position
Field Value
Type | Description |
---|---|
float3 |
Rotation
Currently not updated by any systems. Made available for custom importance implementations.
Declaration
public quaternion Rotation
Field Value
Type | Description |
---|---|
quaternion |
ViewSize
Currently not updated by any systems. Made available for custom importance implementations.
Declaration
public float4 ViewSize
Field Value
Type | Description |
---|---|
float4 |
Implements
Unity.Entities.IComponentData
Unity.Entities.IQueryTypeParameter