Class PointTransformNfo
- Namespace
- SearchAThing.OpenGL.Core
- Assembly
- netcore-opengl-core.dll
Helper class used by SearchAThing.OpenGL.GUI.GLDevTool.
Given the vertex, size, gl matrixes it will update object, normal, local, world, eye, clip, screen transformed coordinates.
public class PointTransformNfo : INotifyPropertyChanged
- Inheritance
-
PointTransformNfo
- Implements
- Inherited Members
Constructors
PointTransformNfo(GLControl, GLVertex, bool)
public PointTransformNfo(GLControl glControl, GLVertex vertex, bool deferredRecompute = false)
Parameters
Properties
Clip
Clip
public Vector4 Clip { get; }
Property Value
DeferredRecompute
public bool DeferredRecompute { get; }
Property Value
Eye
Eye
public Vector3 Eye { get; }
Property Value
GLControl
public GLControl? GLControl { get; }
Property Value
Local
Local
public Vector3 Local { get; }
Property Value
NDC
ClipW
public Vector3 NDC { get; }
Property Value
Normal
Normal
public Vector3 Normal { get; }
Property Value
Object
Object
public Vector3 Object { get; }
Property Value
Screen
Screen
public Vector2 Screen { get; }
Property Value
Vertex
public GLVertex Vertex { get; }
Property Value
World
World
public Vector3 World { get; }
Property Value
Methods
Fmt(string)
public string Fmt(string prefix)
Parameters
prefix
string
Returns
OnPropertyChanged(string?)
invoke this method to forward propertchanged event notification. note: not needed to specify propertyName set by compiler service to called property.
protected void OnPropertyChanged(string? propertyName = null)
Parameters
propertyName
string
Events
PropertyChanged
public event PropertyChangedEventHandler? PropertyChanged