Table of Contents

Class Transform

Namespace
Termule.Engine.Components
Assembly
Termule.Engine.dll

Component that stores a position and handles local positioning relative to its parent.

public sealed class Transform : Component, IPositionProvider
Inheritance
Transform
Implements
Inherited Members

Properties

LocalPos

Gets or sets the position of this Transform relative to its parent.

public Vector LocalPos { get; set; }

Property Value

Vector

Pos

Gets or sets the position of this Transform.

public Vector Pos { get; set; }

Property Value

Vector

Methods

Activate()

Called when this element is added to a Game.

protected override void Activate()

Deactivate()

Called when this element is removed from its Game.

protected override void Deactivate()