C# Класс Protogame.DefaultTransformUtilities

The default implementation of ITransformUtilities.
Наследование: ITransformUtilities
Показать файл Открыть проект

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

Метод Описание
CreateFromCustomMatrix ( Matrix localMatrix ) : ITransform
CreateFromDependencyInjection ( IContext dependencyInjectionContext ) : ITransform
CreateFromModifiedSRTFinalTransform ( IFinalTransform existingFinalTransform, Microsoft.Xna.Framework.Vector3 scaleFactor, Microsoft.Xna.Framework.Quaternion appliedRotation, Microsoft.Xna.Framework.Vector3 addedPosition ) : ITransform
CreateFromModifiedSRTTransform ( ITransform existingTransform, Microsoft.Xna.Framework.Vector3 scaleFactor, Microsoft.Xna.Framework.Quaternion appliedRotation, Microsoft.Xna.Framework.Vector3 addedPosition ) : ITransform
CreateFromSRTMatrix ( Microsoft.Xna.Framework.Vector3 localScale, Microsoft.Xna.Framework.Quaternion localRotation, Microsoft.Xna.Framework.Vector3 localPosition ) : ITransform
CreateLocalPosition ( Microsoft.Xna.Framework.Vector3 localPosition ) : ITransform
CreateLocalPosition ( float x, float y, float z ) : ITransform

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

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

public CreateFromCustomMatrix ( Matrix localMatrix ) : ITransform
localMatrix Microsoft.Xna.Framework.Matrix
Результат ITransform

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

public CreateFromDependencyInjection ( IContext dependencyInjectionContext ) : ITransform
dependencyInjectionContext IContext
Результат ITransform

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

public CreateFromModifiedSRTFinalTransform ( IFinalTransform existingFinalTransform, Microsoft.Xna.Framework.Vector3 scaleFactor, Microsoft.Xna.Framework.Quaternion appliedRotation, Microsoft.Xna.Framework.Vector3 addedPosition ) : ITransform
existingFinalTransform IFinalTransform
scaleFactor Microsoft.Xna.Framework.Vector3
appliedRotation Microsoft.Xna.Framework.Quaternion
addedPosition Microsoft.Xna.Framework.Vector3
Результат ITransform

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

public CreateFromModifiedSRTTransform ( ITransform existingTransform, Microsoft.Xna.Framework.Vector3 scaleFactor, Microsoft.Xna.Framework.Quaternion appliedRotation, Microsoft.Xna.Framework.Vector3 addedPosition ) : ITransform
existingTransform ITransform
scaleFactor Microsoft.Xna.Framework.Vector3
appliedRotation Microsoft.Xna.Framework.Quaternion
addedPosition Microsoft.Xna.Framework.Vector3
Результат ITransform

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

public CreateFromSRTMatrix ( Microsoft.Xna.Framework.Vector3 localScale, Microsoft.Xna.Framework.Quaternion localRotation, Microsoft.Xna.Framework.Vector3 localPosition ) : ITransform
localScale Microsoft.Xna.Framework.Vector3
localRotation Microsoft.Xna.Framework.Quaternion
localPosition Microsoft.Xna.Framework.Vector3
Результат ITransform

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

public CreateLocalPosition ( Microsoft.Xna.Framework.Vector3 localPosition ) : ITransform
localPosition Microsoft.Xna.Framework.Vector3
Результат ITransform

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

public CreateLocalPosition ( float x, float y, float z ) : ITransform
x float
y float
z float
Результат ITransform