Show / Hide Table of Contents

Class RoomTemplateSettingsGrid3D

Component that is attached to each room template game objects and contains basic settings.

Inheritance
System.Object
RoomTemplateSettingsGrid3D
Namespace: Edgar.Unity
Assembly: cs.temp.dll.dll
Syntax
public class RoomTemplateSettingsGrid3D : MonoBehaviour

Fields

AllowRotation

Whether the room template can appear rotates in generated levels.

Declaration
public bool AllowRotation
Field Value
Type Description
System.Boolean

GeneratorSettings

Declaration
public GeneratorSettingsGrid3D GeneratorSettings
Field Value
Type Description
GeneratorSettingsGrid3D

Outline

Outline of the room template that is used when the computation mode is set to InsideEditor.

Declaration
public List<SerializableVector3Int> Outline
Field Value
Type Description
System.Collections.Generic.List<SerializableVector3Int>

OutlineMode

Controls how the outline is computed.

Declaration
public RoomTemplateOutlineModeGrid3D OutlineMode
Field Value
Type Description
RoomTemplateOutlineModeGrid3D

RepeatMode

Whether the room template can be used multiple times in generated levels.

Declaration
public RoomTemplateRepeatMode RepeatMode
Field Value
Type Description
RoomTemplateRepeatMode

Methods

ComputeOutline()

Computes the outline of the room template.

Declaration
public PolygonGrid2D ComputeOutline()
Returns
Type Description
PolygonGrid2D

Returns null if outline is not valid.

In This Article
Back to top Generated by DocFX