C# Class JustTheBasics.Sprite

ファイルを表示 Open project: HeroOfTheWinds/CS-350-410-431-Group-Project Class Usage Examples

Public Properties

Property Type Description
ColorDataCount int
Height int
IndiceCount int
IsTextured bool
ModelMatrix Matrix4
ModelViewProjectionMatrix Matrix4
Position Vector3
Rotation Vector3
Scale Vector3
TextureCoordsCount int
TextureID int
VertCount int
ViewProjectionMatrix Matrix4
Width int

Public Methods

Method Description
CalculateModelMatrix ( ) : void
GetColorData ( ) : Vector3[]
GetIndices ( int offset ) : int[]
GetTextureCoords ( ) : System.Vector2[]
GetVerts ( ) : Vector3[]
GetVerts ( float wWidth, float wHeight ) : Vector3[]

Method Details

CalculateModelMatrix() public method

public CalculateModelMatrix ( ) : void
return void

GetColorData() public method

public GetColorData ( ) : Vector3[]
return Vector3[]

GetIndices() public method

public GetIndices ( int offset ) : int[]
offset int
return int[]

GetTextureCoords() public method

public GetTextureCoords ( ) : System.Vector2[]
return System.Vector2[]

GetVerts() public method

public GetVerts ( ) : Vector3[]
return Vector3[]

GetVerts() public method

public GetVerts ( float wWidth, float wHeight ) : Vector3[]
wWidth float
wHeight float
return Vector3[]

Property Details

ColorDataCount public_oe property

public int ColorDataCount
return int

Height public_oe property

public int Height
return int

IndiceCount public_oe property

public int IndiceCount
return int

IsTextured public_oe property

public bool IsTextured
return bool

ModelMatrix public_oe property

public Matrix4 ModelMatrix
return Matrix4

ModelViewProjectionMatrix public_oe property

public Matrix4 ModelViewProjectionMatrix
return Matrix4

Position public_oe property

public Vector3 Position
return Vector3

Rotation public_oe property

public Vector3 Rotation
return Vector3

Scale public_oe property

public Vector3 Scale
return Vector3

TextureCoordsCount public_oe property

public int TextureCoordsCount
return int

TextureID public_oe property

public int TextureID
return int

VertCount public_oe property

public int VertCount
return int

ViewProjectionMatrix public_oe property

public Matrix4 ViewProjectionMatrix
return Matrix4

Width public_oe property

public int Width
return int