Struct · Ara
PhysicsId
Stable simulation identity; nonzero and unique within a physics world.
public struct PhysicsId : IComponent<PhysicsId>Properties
TypeIndex
public static uint TypeIndex { get; }Stable engine component index.
Fields
Value
public ulong Value;Stable scene/network identity. Zero asks Play to assign a unique value from the entity identity; positive values explicitly reserve an identity.
Range: [0, ∞]. Default: 0.
Methods
Access
public static ref PhysicsId Access(Entity entity, bool write);No description yet.
Insert
public static void Insert(in Commands commands, Entity entity, in PhysicsId value);No description yet.
Contains
public static bool Contains(Entity entity);No description yet.