VertexPositionNormalColored
A geometry vertex specified as a position in space with a normal vector and a color.
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.DirectContext3D.Vertex
Autodesk.Revit.DB.DirectContext3D.VertexPositionNormalColored
Namespace: Autodesk.Revit.DB.DirectContext3D
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class VertexPositionNormalColored : Vertex
The VertexPositionNormalColored type exposes the following members.
Constructors
Name
Description
Public Method
VertexPositionNormalColored
Constructs the vertex from a point, a normal vector, and a color.
Properties
Name
Description
Public Property
IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
(Inherited from Vertex)
Public Property
Normal
The vertex’s normal vector.
Public Property
Position
The vertex’s position.
Methods
Name
Description
Public Method
Dispose
(Inherited from Vertex)
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public Method
GetColor
Gets the vertex’s color.
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object)
Public Method
Static Member
GetSizeInFloats
Gets the amount of storage that the vertex takes up in a buffer, measured in floats.
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
SetColor
Sets the vertex’s color.
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)
Remarks
The color of these vertices includes a transparency component In order to render them as transparent they must be rendered in the transparent pass See the ‘IsTransparentPass’ method of DrawContext