Photon Quantum 2.1.1

Public Member Functions | List of all members
Quantum.Transform2D Struct Reference

The Transform2D is an entity component providing position and rotation a 2D object. More...

Inherits Quantum.IComponent.

Public Member Functions

FPVector2 InverseTransformDirection (FPVector2 direction)
 Transforms a direction from world to local space. See also:

See also
TransformDirection

. More...

 
FPVector2 InverseTransformPoint (FPVector2 point)
 Transforms a point from world to local space. See also:

See also
TransformPoint

. More...

 
FPVector2 TransformDirection (FPVector2 direction)
 Transforms a direction from local to world space. See also:

See also
InverseTransformDirection

. More...

 
FPVector2 TransformPoint (FPVector2 point)
 Transforms a point from local to world space. See also:

See also
InverseTransformPoint

. More...

 

Detailed Description

The Transform2D is an entity component providing position and rotation a 2D object.

Member Function Documentation

◆ TransformPoint()

FPVector2 Quantum.Transform2D.TransformPoint ( FPVector2  point)
inline

Transforms a point from local to world space. See also:

See also
InverseTransformPoint

.

Parameters
pointA point in local space.
Returns
The transformed point in world space.

◆ InverseTransformPoint()

FPVector2 Quantum.Transform2D.InverseTransformPoint ( FPVector2  point)
inline

Transforms a point from world to local space. See also:

See also
TransformPoint

.

Parameters
pointA point in world space.
Returns
The transformed point in local space.

◆ TransformDirection()

FPVector2 Quantum.Transform2D.TransformDirection ( FPVector2  direction)
inline

Transforms a direction from local to world space. See also:

See also
InverseTransformDirection

.

Parameters
directionA direction in local space.
Returns
The transformed direction in world space.

◆ InverseTransformDirection()

FPVector2 Quantum.Transform2D.InverseTransformDirection ( FPVector2  direction)
inline

Transforms a direction from world to local space. See also:

See also
TransformDirection

.

Parameters
directionA direction in world space.
Returns
The transformed direction in local space.