C# Класс BEPUutilities.RigidTransform

Transform composed of a rotation and translation.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Orientation Quaternion
Position Vector3

Открытые методы

Метод Описание
Invert ( RigidTransform &transform, RigidTransform &inverse ) : void

Inverts a rigid transform.

RigidTransform ( Quaternion orienation ) : Microsoft.Xna.Framework

Constructs a new rigid transform.

RigidTransform ( Vector3 position ) : Microsoft.Xna.Framework

Constructs a new rigid transform.

RigidTransform ( Vector3 position, Quaternion orienation ) : Microsoft.Xna.Framework

Constructs a new rigid transform.

Transform ( RigidTransform &a, RigidTransform &b, RigidTransform &combined ) : void

Transforms a rigid transform by another rigid transform.

Transform ( Vector3 &position, RigidTransform &transform, Vector3 &result ) : void

Transforms a position by a rigid transform.

TransformByInverse ( RigidTransform &a, RigidTransform &b, RigidTransform &combinedTransform ) : void

Transforms a rigid transform by another rigid transform's inverse.

TransformByInverse ( Vector3 &position, RigidTransform &transform, Vector3 &result ) : void

Transforms a position by a rigid transform's inverse.

Описание методов

Invert() публичный статический Метод

Inverts a rigid transform.
public static Invert ( RigidTransform &transform, RigidTransform &inverse ) : void
transform RigidTransform Transform to invert.
inverse RigidTransform Inverse of the transform.
Результат void

RigidTransform() публичный Метод

Constructs a new rigid transform.
public RigidTransform ( Quaternion orienation ) : Microsoft.Xna.Framework
orienation Quaternion Rotation component of the transform.
Результат Microsoft.Xna.Framework

RigidTransform() публичный Метод

Constructs a new rigid transform.
public RigidTransform ( Vector3 position ) : Microsoft.Xna.Framework
position Vector3 Translation component of the transform.
Результат Microsoft.Xna.Framework

RigidTransform() публичный Метод

Constructs a new rigid transform.
public RigidTransform ( Vector3 position, Quaternion orienation ) : Microsoft.Xna.Framework
position Vector3 Translation component of the transform.
orienation Quaternion Rotation component of the transform.
Результат Microsoft.Xna.Framework

Transform() публичный статический Метод

Transforms a rigid transform by another rigid transform.
public static Transform ( RigidTransform &a, RigidTransform &b, RigidTransform &combined ) : void
a RigidTransform The first, "local" rigid transform.
b RigidTransform The second, "world" rigid transform.
combined RigidTransform Combined rigid transform.
Результат void

Transform() публичный статический Метод

Transforms a position by a rigid transform.
public static Transform ( Vector3 &position, RigidTransform &transform, Vector3 &result ) : void
position Vector3 Position to transform.
transform RigidTransform Transform to apply.
result Vector3 Transformed position.
Результат void

TransformByInverse() публичный статический Метод

Transforms a rigid transform by another rigid transform's inverse.
public static TransformByInverse ( RigidTransform &a, RigidTransform &b, RigidTransform &combinedTransform ) : void
a RigidTransform The first rigid transform.
b RigidTransform The second rigid transform, to be inverted.
combinedTransform RigidTransform Combined rigid transform.
Результат void

TransformByInverse() публичный статический Метод

Transforms a position by a rigid transform's inverse.
public static TransformByInverse ( Vector3 &position, RigidTransform &transform, Vector3 &result ) : void
position Vector3 Position to transform.
transform RigidTransform Transform to invert and apply.
result Vector3 Transformed position.
Результат void

Описание свойств

Orientation публичное свойство

Rotation component of the transform.
public Quaternion Orientation
Результат Quaternion

Position публичное свойство

Translation component of the transform.
public Vector3 Position
Результат Vector3