Class Dx2DObject
Class representing drawable objects
Inherited Members
Namespace: Slipe.Client.Dx
Assembly: SlipeClient.dll
Syntax
public abstract class Dx2DObject : LazyAttachableObject
Properties
| Improve this Doc View SourceColor
The color that is used to draw this object
Declaration
public Color Color { get; set; }
Property Value
Type | Description |
---|---|
Color |
Position
Declaration
public Vector2 Position { get; set; }
Property Value
Type | Description |
---|---|
Vector2 |
PostGUI
Boolean indicating whether this object is drawn before or after GUI's are drawn
Declaration
public bool PostGUI { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
| Improve this Doc View SourceUpdate(RootElement, OnUpdateEventArgs)
Updates this DxObject to the correct position on screen
Declaration
protected override void Update(RootElement source = null, OnUpdateEventArgs eventArgs = null)
Parameters
Type | Name | Description |
---|---|---|
RootElement | source | |
OnUpdateEventArgs | eventArgs |