Table of Contents

Class Empty

Namespace
LibGFX.Core.GameElements
Assembly
LibGFX.dll

Represents an empty game element that does not have any visual representation.

public class Empty : GameElement, IIdentifier, IPropertyTable, ISerialization
Inheritance
Empty
Implements
Inherited Members

Constructors

Empty(string, Vector3)

Creates a new instance of the Empty class.

public Empty(string name, Vector3 position)

Parameters

name string
position Vector3

Properties

HasTransparency

Gets a value indicating whether the image contains any transparent pixels.

public override bool HasTransparency { get; }

Property Value

bool

Methods

ComputeAABB()

Computes the axis-aligned bounding box (AABB) of the game element.

public override void ComputeAABB()