Share

VertexPositionNormalColored Class

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: 26.1.0.0 (26.1.0.34)

Syntax

C#

public class VertexPositionNormalColored : Vertex

The VertexPositionNormalColored type exposes the following members.

Constructors

 NameDescription
Public methodVertexPositionNormalColored Constructs the vertex from a point, a normal vector, and a color.

Properties

 NameDescription
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
(Inherited from Vertex)
Public propertyNormal The vertex's normal vector.
Public propertyPosition The vertex's position.

Methods

 NameDescription
Public methodDispose
(Inherited from Vertex)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetColor Gets the vertex's color.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodStatic memberGetSizeInFloats Gets the amount of storage that the vertex takes up in a buffer, measured in floats.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodSetColor Sets the vertex's color.
Public methodToStringReturns 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

See Also

Reference

Was this information helpful?