C# Class FSO.IDE.EditorComponent.UI.PrimitiveNode

Inheritance: FSO.Client.UI.Framework.UIContainer
Show file Open project: RHY3756547/FreeSO Class Usage Examples

Public Properties

Property Type Description
Destination PrimitiveBox
Direction int
DragVec Vector2
MouseDrag bool
Type NodeType

Public Methods

Method Description
Draw ( FSO.Client.UI.Framework.UISpriteBatch batch ) : void
PrimitiveNode ( ) : System
ShadDraw ( FSO.Client.UI.Framework.UISpriteBatch batch ) : void
Update ( UpdateState state ) : void

Private Methods

Method Description
DrawLine ( Microsoft.Xna.Framework.Graphics.Texture2D Fill, Vector2 Start, Vector2 End, SpriteBatch spriteBatch, int lineWidth, Color tint ) : void
MouseEvents ( UIMouseEventType evt, UpdateState state ) : void

Method Details

Draw() public method

public Draw ( FSO.Client.UI.Framework.UISpriteBatch batch ) : void
batch FSO.Client.UI.Framework.UISpriteBatch
return void

PrimitiveNode() public method

public PrimitiveNode ( ) : System
return System

ShadDraw() public method

public ShadDraw ( FSO.Client.UI.Framework.UISpriteBatch batch ) : void
batch FSO.Client.UI.Framework.UISpriteBatch
return void

Update() public method

public Update ( UpdateState state ) : void
state FSO.Common.Rendering.Framework.Model.UpdateState
return void

Property Details

Destination public property

public PrimitiveBox,FSO.IDE.EditorComponent.UI Destination
return PrimitiveBox

Direction public property

public int Direction
return int

DragVec public property

public Vector2 DragVec
return Vector2

MouseDrag public property

public bool MouseDrag
return bool

Type public property

public NodeType Type
return NodeType