rotation2D table reference - Stingray Lua API Reference

rotation2D table reference

Description

Represents a two-dimensional matrix, created by a call to the stingray.Rotation2D() function.

You can use this rotation matrix with the 3D functions in the stingray.Gui interface to create a rotated object.

2D rotations are internally represented using stingray.Matrix4x4 objects. This means that they are temporary objects that cannot be stored from one frame to another.