C# Class Wxv.Swg.Common.XnaExtensions

Mostra file Open project: wverkley/Swg.Explorer

Public Methods

Method Description
ReadColorARGBByte ( this stream ) : Color
ReadColorARGBSingle ( this stream ) : Color
ReadQuaternionSingle ( this stream ) : Microsoft.Xna.Framework.Quaternion
ReadVector2Single ( this stream ) : Vector2
ReadVector3Single ( this stream ) : Vector3
ToFormatString ( this f, int pad ) : string

Method Details

ReadColorARGBByte() public static method

public static ReadColorARGBByte ( this stream ) : Color
stream this
return Color

ReadColorARGBSingle() public static method

public static ReadColorARGBSingle ( this stream ) : Color
stream this
return Color

ReadQuaternionSingle() public static method

public static ReadQuaternionSingle ( this stream ) : Microsoft.Xna.Framework.Quaternion
stream this
return Microsoft.Xna.Framework.Quaternion

ReadVector2Single() public static method

public static ReadVector2Single ( this stream ) : Vector2
stream this
return Vector2

ReadVector3Single() public static method

public static ReadVector3Single ( this stream ) : Vector3
stream this
return Vector3

ToFormatString() public static method

public static ToFormatString ( this f, int pad ) : string
f this
pad int
return string