Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Struct: RT.Modeling.VertexInfo

Summary

Encapsulates information about a vertex in a 3D model.

Constructors

VertexInfo(Pt location, Pt? normal, PointD? texture = null)
Constructor.
VertexInfo(Pt location, Pt? normal, double? textureU, double? textureV)

Instance methods

string
  • Overrides: object.ToString()
Refer to the documentation for object.ToString.
VertexInfoReturns a vertex with the specified texture coordinates (UV mapping).
VertexInfo
WithTexture(double x, double y)

Operators

VertexInfo
operator+(VertexInfo vertex, Pt vector)
Moves a vertex by an amount specified by a 3D vector.
VertexInfo
operator+(Pt vector, VertexInfo vertex)
VertexInfo
operator/(VertexInfo vertex, double scale)
Scales a vertex by the reciprocal of a multiplicative factor.
VertexInfo
operator/(double scale, VertexInfo vertex)
VertexInfo
operator*(VertexInfo vertex, double scale)
Scales a vertex by a multiplicative factor.
VertexInfo
operator*(double scale, VertexInfo vertex)
VertexInfo
operator-(VertexInfo vertex, Pt vector)
Moves a vertex backwards by an amount specified by a 3D vector.
VertexInfo
operator-(Pt vector, VertexInfo vertex)

Instance properties

PtThe position of the vertex in 3D space.
Pt?A normal vector associated with this vertex.
PointD?A set of texture coordinates for UV mapping.