Constructs the vertex from a point, a normal vector, and a color.
Namespace: Autodesk.Revit.DB.DirectContext3D
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since: 2017
Syntax
| C# |
|---|
|
| Visual Basic |
|---|
|
| Visual C++ |
|---|
|
Parameters
- position
- Type: Autodesk.Revit.DBXYZ
The vertex's position.
- normal
- Type: Autodesk.Revit.DBXYZ
The vertex's normal vector.
- color
- Type: Autodesk.Revit.DBColorWithTransparency
The vertex's color.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.ExceptionsArgumentNullException | A non-optional argument was null |