C# Class Protogame.DefaultTransformUtilities

The default implementation of ITransformUtilities.
Inheritance: ITransformUtilities
ファイルを表示 Open project: RedpointGames/Protogame

Public Methods

Method Description
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

Method Details

CreateFromCustomMatrix() public method

public CreateFromCustomMatrix ( Matrix localMatrix ) : ITransform
localMatrix Microsoft.Xna.Framework.Matrix
return ITransform

CreateFromDependencyInjection() public method

public CreateFromDependencyInjection ( IContext dependencyInjectionContext ) : ITransform
dependencyInjectionContext IContext
return ITransform

CreateFromModifiedSRTFinalTransform() public method

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
return ITransform

CreateFromModifiedSRTTransform() public method

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
return ITransform

CreateFromSRTMatrix() public method

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
return ITransform

CreateLocalPosition() public method

public CreateLocalPosition ( Microsoft.Xna.Framework.Vector3 localPosition ) : ITransform
localPosition Microsoft.Xna.Framework.Vector3
return ITransform

CreateLocalPosition() public method

public CreateLocalPosition ( float x, float y, float z ) : ITransform
x float
y float
z float
return ITransform