Revit 2026 API
Vertex |
The base class for DirectContext3D vertex streams, which are used to write vertex data into buffers.
SystemObject
Autodesk.Revit.DB.DirectContext3DVertexStream
Autodesk.Revit.DB.DirectContext3DVertexStreamPosition
Autodesk.Revit.DB.DirectContext3DVertexStreamPositionColored
Autodesk.Revit.DB.DirectContext3DVertexStreamPositionNormal
Autodesk.Revit.DB.DirectContext3DVertexStreamPositionNormalColored
Autodesk.Revit.DB.DirectContext3DVertexStream
Autodesk.Revit.DB.DirectContext3DVertexStreamPosition
Autodesk.Revit.DB.DirectContext3DVertexStreamPositionColored
Autodesk.Revit.DB.DirectContext3DVertexStreamPositionNormal
Autodesk.Revit.DB.DirectContext3DVertexStreamPositionNormalColored
Namespace: Autodesk.Revit.DB.DirectContext3D
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
The VertexStream type exposes the following members.
| Name | Description | |
|---|---|---|
| IsValidObject | Specifies whether the .NET object represents a valid Revit entity. |
| Name | Description | |
|---|---|---|
| Dispose | Releases all resources used by the VertexStream | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
This base class cannot be used directly. Instead, a steam that is specific for each type of
vertex must be used.
- Use VertexStreamPosition to insert VertexPosition instances.
- Use VertexStreamPositionColored to insert VertexPositionColored instances.
- Use VertexStreamPositionNormal to insert VertexPositionNormal instances.
- Use VertexStreamPositionNormalColored to insert VertexPositionNormalColored instances.
- Map the vertex buffer.
- Get a stream of the appropriate type from the buffer.
- Add vertices of the same type to the stream. They will be written into the buffer that was used to create the stream.
- Unmap the buffer.
See Also