Interface IGLLine
- Namespace
- SearchAThing.OpenGL.Core
- Assembly
- netcore-opengl-core.dll
Primitive for the GL_LINES opengl element.
[JsonObject(MemberSerialization.OptIn)]
public interface IGLLine : IGLPrimitive, IGLVertexManagerObject, INotifyPropertyChanged
- Inherited Members
- Extension Methods
Properties
From
Line from vertex.
[JsonProperty]
GLVertex From { get; set; }
Property Value
Remarks
Changing this property will:
- checks that the incoming value is a detached vertex ( EnsureDetached(IGLVertexManagerObject) ).
- use RemoveVertex(GLVertex)
- set the value
- use AddVertex
To
Line to vertex.
[JsonProperty]
GLVertex To { get; set; }
Property Value
Remarks
Changing this property will:
- checks that the incoming value is a detached vertex ( EnsureDetached(IGLVertexManagerObject) ).
- use RemoveVertex(GLVertex)
- set the value
- use AddVertex(GLVertex, bool)