Ara
Download

Search or run a command

Jump to a section or open an Ara link.

Struct · Ara

Camera

A viewpoint looking along the entity's local -Z axis. The lowest priority wins.

public struct Camera : IComponent<Camera>

Properties

TypeIndex

public static uint TypeIndex { get; }

Stable engine component index.

Fields

Fov

public float Fov;

Vertical field of view.

Unit: deg. Range: [1, 170]. Default: 55.

Priority

public int Priority;

Selection order when several cameras exist; lower is preferred.

Default: 0.

Methods

Access

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

No description yet.

Insert

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

No description yet.

Contains

public static bool Contains(Entity entity);

No description yet.