C# 클래스 BEPUutilities.AffineTransform

A transformation composed of a linear transformation and a translation.
파일 보기 프로젝트 열기: Indiefreaks/igf 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
LinearTransform Matrix3x3
Translation Vector3

공개 메소드들

메소드 설명
AffineTransform ( Matrix3x3 linearTransform, Vector3 translation ) : Microsoft.Xna.Framework

Constructs a new affine transform.

AffineTransform ( Quaternion orientation, Vector3 translation ) : Microsoft.Xna.Framework

Constructs a new affine tranform.

AffineTransform ( Vector3 translation ) : Microsoft.Xna.Framework

Constructs a new affine transform.

AffineTransform ( Vector3 scaling, Quaternion orientation, Vector3 translation ) : Microsoft.Xna.Framework

Constructs a new affine transform.

CreateFromRigidTransform ( RigidTransform rigid ) : AffineTransform

Creates an affine transform from a rigid transform.

CreateFromRigidTransform ( RigidTransform &rigid, AffineTransform &affine ) : void

Creates an affine transform from a rigid transform.

Invert ( AffineTransform &transform, AffineTransform &inverse ) : void

Inverts an affine transform.

Multiply ( AffineTransform &a, AffineTransform &b, AffineTransform &transform ) : void

Multiplies a transform by another transform.

Multiply ( RigidTransform &a, AffineTransform &b, AffineTransform &transform ) : void

Multiplies a rigid transform by an affine transform.

Transform ( Vector3 position, AffineTransform affineTransform ) : Vector3

Transforms a vector using an affine transform.

Transform ( Vector3 &position, AffineTransform &transform, Vector3 &transformed ) : void

Transforms a vector by an affine transform.

TransformInverse ( Vector3 &position, AffineTransform &transform, Vector3 &transformed ) : void

Transforms a vector by an affine transform's inverse.

메소드 상세

AffineTransform() 공개 메소드

Constructs a new affine transform.
public AffineTransform ( Matrix3x3 linearTransform, Vector3 translation ) : Microsoft.Xna.Framework
linearTransform Matrix3x3 The linear transform component.
translation Vector3 Translation component of the transform.
리턴 Microsoft.Xna.Framework

AffineTransform() 공개 메소드

Constructs a new affine tranform.
public AffineTransform ( Quaternion orientation, Vector3 translation ) : Microsoft.Xna.Framework
orientation Quaternion Orientation to use as the linear transform.
translation Vector3 Translation to use in the transform.
리턴 Microsoft.Xna.Framework

AffineTransform() 공개 메소드

Constructs a new affine transform.
public AffineTransform ( Vector3 translation ) : Microsoft.Xna.Framework
translation Vector3 Translation to use in the transform.
리턴 Microsoft.Xna.Framework

AffineTransform() 공개 메소드

Constructs a new affine transform.
public AffineTransform ( Vector3 scaling, Quaternion orientation, Vector3 translation ) : Microsoft.Xna.Framework
scaling Vector3 Scaling to apply in the linear transform.
orientation Quaternion Orientation to apply in the linear transform.
translation Vector3 Translation to apply.
리턴 Microsoft.Xna.Framework

CreateFromRigidTransform() 공개 정적인 메소드

Creates an affine transform from a rigid transform.
public static CreateFromRigidTransform ( RigidTransform rigid ) : AffineTransform
rigid RigidTransform Rigid transform to base the affine transform on.
리턴 AffineTransform

CreateFromRigidTransform() 공개 정적인 메소드

Creates an affine transform from a rigid transform.
public static CreateFromRigidTransform ( RigidTransform &rigid, AffineTransform &affine ) : void
rigid RigidTransform Rigid transform to base the affine transform on.
affine AffineTransform Affine transform created from the rigid transform.
리턴 void

Invert() 공개 정적인 메소드

Inverts an affine transform.
public static Invert ( AffineTransform &transform, AffineTransform &inverse ) : void
transform AffineTransform Transform to invert.
inverse AffineTransform Inverse of the transform.
리턴 void

Multiply() 공개 정적인 메소드

Multiplies a transform by another transform.
public static Multiply ( AffineTransform &a, AffineTransform &b, AffineTransform &transform ) : void
a AffineTransform First transform.
b AffineTransform Second transform.
transform AffineTransform Combined transform.
리턴 void

Multiply() 공개 정적인 메소드

Multiplies a rigid transform by an affine transform.
public static Multiply ( RigidTransform &a, AffineTransform &b, AffineTransform &transform ) : void
a RigidTransform Rigid transform.
b AffineTransform Affine transform.
transform AffineTransform Combined transform.
리턴 void

Transform() 공개 정적인 메소드

Transforms a vector using an affine transform.
public static Transform ( Vector3 position, AffineTransform affineTransform ) : Vector3
position Vector3 Position to transform.
affineTransform AffineTransform Transform to apply.
리턴 Vector3

Transform() 공개 정적인 메소드

Transforms a vector by an affine transform.
public static Transform ( Vector3 &position, AffineTransform &transform, Vector3 &transformed ) : void
position Vector3 Position to transform.
transform AffineTransform Transform to apply.
transformed Vector3 Transformed position.
리턴 void

TransformInverse() 공개 정적인 메소드

Transforms a vector by an affine transform's inverse.
public static TransformInverse ( Vector3 &position, AffineTransform &transform, Vector3 &transformed ) : void
position Vector3 Position to transform.
transform AffineTransform Transform to invert and apply.
transformed Vector3 Transformed position.
리턴 void

프로퍼티 상세

LinearTransform 공개적으로 프로퍼티

Linear transform in the affine transform.
public Matrix3x3,BEPUutilities LinearTransform
리턴 Matrix3x3

Translation 공개적으로 프로퍼티

Translation in the affine transform.
public Vector3 Translation
리턴 Vector3