C# 클래스 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.
파일 보기 프로젝트 열기: Wiladams/NewTOAPIA 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
IDentity Transformation

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
GetNorm ( ) : float

메소드 상세

ApplyForward() 공개 메소드

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
리턴 float3

ApplyForward() 공개 메소드

public ApplyForward ( int quantity, float3 input, float3 &output ) : void
quantity int
input float3
output float3
리턴 void

ApplyInverse() 공개 메소드

public ApplyInverse ( float3 input ) : float3
input float3
리턴 float3

ApplyInverse() 공개 메소드

public ApplyInverse ( int quantity, float3 input, float3 &output ) : void
quantity int
input float3
output float3
리턴 void

GetRotate() 공개 메소드

public GetRotate ( ) : float3x3
리턴 float3x3

Inverse() 공개 메소드

public Inverse ( Transformation &inverse ) : void
inverse Transformation
리턴 void

InvertVector() 공개 메소드

public InvertVector ( float3 vector ) : float3
vector float3
리턴 float3

MakeIdentity() 공개 메소드

public MakeIdentity ( ) : void
리턴 void

MakeUnitScale() 공개 메소드

public MakeUnitScale ( ) : void
리턴 void

Product() 공개 메소드

public Product ( Transformation A, Transformation B, Transformation &C ) : void
A Transformation
B Transformation
C Transformation
리턴 void

SetRotate() 공개 메소드

public SetRotate ( float3x3 rotate ) : void
rotate float3x3
리턴 void

Transformation() 공개 메소드

public Transformation ( ) : System
리턴 System

Transformation() 공개 메소드

public Transformation ( Transformation aTrans ) : System
aTrans Transformation
리턴 System

Translate() 공개 메소드

public Translate ( float dx, float dy ) : void
dx float
dy float
리턴 void

Translate() 공개 메소드

public Translate ( float2 offset ) : void
offset float2
리턴 void

Translate() 공개 메소드

public Translate ( float3 offset ) : void
offset float3
리턴 void

프로퍼티 상세

IDentity 공개적으로 정적으로 프로퍼티

public static Transformation,NewTOAPIA.Graphics IDentity
리턴 Transformation