C# Class NewTOAPIA.Graphics.Transformation

The Transformation class is meant to represent a general transformation in 3D. It will typically be attached to UI elements, both 3D and 2D so they can carry their various world, and local transforms with them.
Afficher le fichier Open project: Wiladams/NewTOAPIA Class Usage Examples

Méthodes publiques

Свойство Type Description
IDentity Transformation

Méthodes publiques

Méthode Description
ApplyForward ( float3 input ) : float3

Applying the transform takes the input, and multiplies it by the transformation matrix. This operation will return a new output that has the transform applied.

ApplyForward ( int quantity, float3 input, float3 &output ) : void
ApplyInverse ( float3 input ) : float3
ApplyInverse ( int quantity, float3 input, float3 &output ) : void
GetRotate ( ) : float3x3
Inverse ( Transformation &inverse ) : void
InvertVector ( float3 vector ) : float3
MakeIdentity ( ) : void
MakeUnitScale ( ) : void
Product ( Transformation A, Transformation B, Transformation &C ) : void
SetRotate ( float3x3 rotate ) : void
Transformation ( ) : System
Transformation ( Transformation aTrans ) : System
Translate ( float dx, float dy ) : void
Translate ( float2 offset ) : void
Translate ( float3 offset ) : void

Private Methods

Méthode Description
GetNorm ( ) : float

Method Details

ApplyForward() public méthode

Applying the transform takes the input, and multiplies it by the transformation matrix. This operation will return a new output that has the transform applied.
public ApplyForward ( float3 input ) : float3
input float3
Résultat float3

ApplyForward() public méthode

public ApplyForward ( int quantity, float3 input, float3 &output ) : void
quantity int
input float3
output float3
Résultat void

ApplyInverse() public méthode

public ApplyInverse ( float3 input ) : float3
input float3
Résultat float3

ApplyInverse() public méthode

public ApplyInverse ( int quantity, float3 input, float3 &output ) : void
quantity int
input float3
output float3
Résultat void

GetRotate() public méthode

public GetRotate ( ) : float3x3
Résultat float3x3

Inverse() public méthode

public Inverse ( Transformation &inverse ) : void
inverse Transformation
Résultat void

InvertVector() public méthode

public InvertVector ( float3 vector ) : float3
vector float3
Résultat float3

MakeIdentity() public méthode

public MakeIdentity ( ) : void
Résultat void

MakeUnitScale() public méthode

public MakeUnitScale ( ) : void
Résultat void

Product() public méthode

public Product ( Transformation A, Transformation B, Transformation &C ) : void
A Transformation
B Transformation
C Transformation
Résultat void

SetRotate() public méthode

public SetRotate ( float3x3 rotate ) : void
rotate float3x3
Résultat void

Transformation() public méthode

public Transformation ( ) : System
Résultat System

Transformation() public méthode

public Transformation ( Transformation aTrans ) : System
aTrans Transformation
Résultat System

Translate() public méthode

public Translate ( float dx, float dy ) : void
dx float
dy float
Résultat void

Translate() public méthode

public Translate ( float2 offset ) : void
offset float2
Résultat void

Translate() public méthode

public Translate ( float3 offset ) : void
offset float3
Résultat void

Property Details

IDentity public_oe static_oe property

public static Transformation,NewTOAPIA.Graphics IDentity
Résultat Transformation