Revit 2018 API |
VertexBuffer..::..GetVertexStreamPositionColored Method |
VertexBuffer Class See Also |
Gets a stream that can be used to write vertices of type VertexPositionColored into the buffer.
Namespace: Autodesk.Revit.DB.DirectContext3D
Assembly: RevitAPI (in RevitAPI.dll) Version: 18.0.0.0 (18.0.0.420)
Since:
2017
Syntax
C# |
---|
public VertexStreamPositionColored GetVertexStreamPositionColored() |
Visual Basic |
---|
Public Function GetVertexStreamPositionColored As VertexStreamPositionColored |
Visual C++ |
---|
public: VertexStreamPositionColored^ GetVertexStreamPositionColored() |
Return Value
The stream that can be used to write into this buffer.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..InvalidOperationException | Thrown if the buffer is not mapped. -or- Thrown if the buffer has insufficient space. |