Ara
Download

Search or run a command

Jump to a section or open an Ara link.

Struct · Ara

Stimulus

Something perceivers can see and remember (players, corpses, thrown objects).

public struct Stimulus : IComponent<Stimulus>

Properties

TypeIndex

public static uint TypeIndex { get; }

Stable engine component index.

Fields

Kind

public string Kind;

Category name behaviours query (player, corpse).

Default: "".

Height

public float Height;

Height of the sight target above the feet in metres.

Unit: m. Range: [0, 100]. Default: 1.2.

Visibility

public float Visibility;

Detection range multiplier (0 = invisible, 0.5 = crouched in shadow).

Range: [0, 10]. Default: 1.

Methods

Access

public static ref Stimulus Access(Entity entity, bool write);

No description yet.

Insert

public static void Insert(in Commands commands, Entity entity, in Stimulus value);

No description yet.

Contains

public static bool Contains(Entity entity);

No description yet.