Show / Hide Table of Contents

Struct Vertice

Represents a vertice drawn in primitives

Inherited Members
ValueType.Equals(Object)
ValueType.GetHashCode()
ValueType.ToString()
Object.Equals(Object, Object)
Object.GetType()
Object.ReferenceEquals(Object, Object)
Namespace: Slipe.Client.Dx
Assembly: SlipeClient.dll
Syntax
public struct Vertice

Constructors

| Improve this Doc View Source

Vertice(Vector2, Color)

Declaration
public Vertice(Vector2 position, Color color)
Parameters
Type Name Description
Vector2 position
Color color
| Improve this Doc View Source

Vertice(Vector2, Color, Vector2)

Declaration
public Vertice(Vector2 position, Color color, Vector2 topLeft)
Parameters
Type Name Description
Vector2 position
Color color
Vector2 topLeft

Properties

| Improve this Doc View Source

Color

The color of the vertice

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

Position

The position of the vertice

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

TopLeft

If using material primitives, this describes the relative top left coordinate of the image

Declaration
public readonly Vector2 TopLeft { get; }
Property Value
Type Description
Vector2
  • Improve this Doc
  • View Source
Back to top Generated by DocFX