C# Class Terraria.Graphics.Capture.CaptureInterface

Exibir arquivo Open project: EmuDevs/EDTerraria Class Usage Examples

Public Properties

Property Type Description
Active bool
CameraLock bool
EdgeA Point
EdgeAPinned bool
EdgeB Point
EdgeBPinned bool
HoveredMode int
JustActivated bool
SelectedMode int

Public Methods

Method Description
Draw ( SpriteBatch sb ) : void
EndCamera ( ) : void
GetArea ( ) : Rectangle
ResetFocus ( ) : void
Scrolling ( ) : void
StartCamera ( CaptureSettings settings ) : void
ToggleCamera ( bool On = true ) : void
Update ( ) : void
UsingMap ( ) : bool

Private Methods

Method Description
ConstraintPoints ( ) : void
DrawButtons ( SpriteBatch sb ) : void
DrawCameraLock ( SpriteBatch sb ) : void
FillModes ( ) : CaptureInterfaceMode>.Dictionary
GetMapCoords ( int PinX, int PinY, int Goal, Point &result ) : bool
PointWorldClamp ( Point &point, int fluff ) : void
UpdateButtons ( Vector2 mouse ) : bool
UpdateCamera ( ) : void

Method Details

Draw() public method

public Draw ( SpriteBatch sb ) : void
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

EndCamera() public static method

public static EndCamera ( ) : void
return void

GetArea() public static method

public static GetArea ( ) : Rectangle
return Microsoft.Xna.Framework.Rectangle

ResetFocus() public static method

public static ResetFocus ( ) : void
return void

Scrolling() public method

public Scrolling ( ) : void
return void

StartCamera() public static method

public static StartCamera ( CaptureSettings settings ) : void
settings CaptureSettings
return void

ToggleCamera() public method

public ToggleCamera ( bool On = true ) : void
On bool
return void

Update() public method

public Update ( ) : void
return void

UsingMap() public method

public UsingMap ( ) : bool
return bool

Property Details

Active public_oe property

public bool Active
return bool

CameraLock public_oe static_oe property

public static bool CameraLock
return bool

EdgeA public_oe static_oe property

public static Point EdgeA
return Point

EdgeAPinned public_oe static_oe property

public static bool EdgeAPinned
return bool

EdgeB public_oe static_oe property

public static Point EdgeB
return Point

EdgeBPinned public_oe static_oe property

public static bool EdgeBPinned
return bool

HoveredMode public_oe property

public int HoveredMode
return int

JustActivated public_oe static_oe property

public static bool JustActivated
return bool

SelectedMode public_oe property

public int SelectedMode
return int