Contents

Transform

A component that defines the scale, rotation, and translation of an entity.

Declaration

@frozen struct Transform

Mentioned in

Overview

An entity acquires a Transform component, as well as a set of methods for manipulating the transform, by adopting the HasTransform protocol. This is true for all entities, because the Entity base class adopts the protocol.

Topics

Creating a transform

Setting transform properties

Getting the identity transform

Initializers

Instance Methods

Default Implementations

See Also

Positioning entities in space