Ara
Download

Search or run a command

Jump to a section or open an Ara link.

Struct · Ara

Terrain

Puts a .terrain heightfield (and its .foliage scatter) in play: rendered by the landscape renderer, walkable for navigation, solid where TerrainChunks exist.

public struct Terrain : IComponent<Terrain>

Properties

TypeIndex

public static uint TypeIndex { get; }

Stable engine component index.

Fields

TerrainAsset

public string TerrainAsset;

The heightfield manifest (.terrain document).

Default: null.

Foliage

public string Foliage;

Scatter rules over it (.foliage document), drawn by the landscape renderer.

Default: null.

Methods

Access

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

No description yet.

Insert

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

No description yet.

Contains

public static bool Contains(Entity entity);

No description yet.