C# Class FSO.LotView.Utils._2DSprite

Represents a 2D sprite in the game.
Show file Open project: RHY3756547/FreeSO Class Usage Examples

Public Properties

Property Type Description
AbsoluteDestRect Microsoft.Xna.Framework.Rectangle
AbsoluteTilePosition Vector3
AbsoluteWorldPosition Vector3
Depth Microsoft.Xna.Framework.Graphics.Texture2D
DestRect Microsoft.Xna.Framework.Rectangle
DrawOrder int
FlipHorizontally bool
FlipVertically bool
Mask Microsoft.Xna.Framework.Graphics.Texture2D
ObjectID short
Pixel Microsoft.Xna.Framework.Graphics.Texture2D
RenderMode _2DBatchRenderMode
Room ushort
SrcRect Microsoft.Xna.Framework.Rectangle
TilePosition Vector3
WorldPosition Vector3

Public Methods

Method Description
Repurpose ( ) : void

Method Details

Repurpose() public method

public Repurpose ( ) : void
return void

Property Details

AbsoluteDestRect public property

public Rectangle,Microsoft.Xna.Framework AbsoluteDestRect
return Microsoft.Xna.Framework.Rectangle

AbsoluteTilePosition public property

public Vector3 AbsoluteTilePosition
return Vector3

AbsoluteWorldPosition public property

public Vector3 AbsoluteWorldPosition
return Vector3

Depth public property

public Texture2D,Microsoft.Xna.Framework.Graphics Depth
return Microsoft.Xna.Framework.Graphics.Texture2D

DestRect public property

public Rectangle,Microsoft.Xna.Framework DestRect
return Microsoft.Xna.Framework.Rectangle

DrawOrder public property

public int DrawOrder
return int

FlipHorizontally public property

public bool FlipHorizontally
return bool

FlipVertically public property

public bool FlipVertically
return bool

Mask public property

public Texture2D,Microsoft.Xna.Framework.Graphics Mask
return Microsoft.Xna.Framework.Graphics.Texture2D

ObjectID public property

public short ObjectID
return short

Pixel public property

public Texture2D,Microsoft.Xna.Framework.Graphics Pixel
return Microsoft.Xna.Framework.Graphics.Texture2D

RenderMode public property

public _2DBatchRenderMode RenderMode
return _2DBatchRenderMode

Room public property

public ushort Room
return ushort

SrcRect public property

public Rectangle,Microsoft.Xna.Framework SrcRect
return Microsoft.Xna.Framework.Rectangle

TilePosition public property

public Vector3 TilePosition
return Vector3

WorldPosition public property

public Vector3 WorldPosition
return Vector3