Show / Hide Table of Contents

Class Dx2DObject

Class representing drawable objects

Inheritance
Object
LazyAttachableObject
Dx2DObject
Circle
Image
Line
Rectangle
Text
Inherited Members
LazyAttachableObject.toAttached
LazyAttachableObject.Offset
LazyAttachableObject.ToAttached
LazyAttachableObject.IsAttached
LazyAttachableObject.AttachTo(PhysicalElement, Matrix4x4)
LazyAttachableObject.AttachTo(PhysicalElement, Vector3, Vector3)
LazyAttachableObject.AttachTo(PhysicalElement, Vector3, Quaternion)
LazyAttachableObject.AttachTo(PhysicalElement)
LazyAttachableObject.Detach()
LazyAttachableObject.OnAttach()
LazyAttachableObject.OnDetach()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Slipe.Client.Dx
Assembly: SlipeClient.dll
Syntax
public abstract class Dx2DObject : LazyAttachableObject

Properties

| Improve this Doc View Source

Color

The color that is used to draw this object

Declaration
public Color Color { get; set; }
Property Value
Type Description
Color
| Improve this Doc View Source

Position

Declaration
public Vector2 Position { get; set; }
Property Value
Type Description
Vector2
| Improve this Doc View Source

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 Source

Update(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
Overrides
LazyAttachableObject.Update(RootElement, OnUpdateEventArgs)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX