Skip to content

IEntity

Interface · Namespace OMX.ModAPI · Assembly OMX.ModAPI.Shared.dll

public interface IEntity

A live view of one entity. Reads are safe from any thread and return the state the engine published for the latest frame. Once the entity has gone, IEntity.IsValid is false and the properties keep their last values. Two views of the same entity are equal.

Implemented or extended by: IPlayer, IVehicle

EntityId Id { get; }
bool IsValid { get; }
EntityKind Kind { get; }
IMetadata Meta { get; }