Constructs a new ViewOrientation3D using the input eye position, up and forward directions.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public ViewOrientation3D(
XYZ eyePosition,
XYZ upDirection,
XYZ forwardDirection
)
Parameters
- eyePosition XYZ
-
The eye position
- upDirection XYZ
-
The up direction. This vector will be normalized. Up direction must be perpendicular to the forward direction.
- forwardDirection XYZ
-
The forward direction. This vector will be normalized. Forward direction must be perpendicular to the up direction.
Exceptions
See Also
Reference