ViewOrientation3D
Constructor
Description:
Constructs a new ViewOrientation3D using the input eye position, up and forward directions.
Constructs a new ViewOrientation3D using the input eye position, up and forward directions.
Parameters
| Parameter | Type | Description |
|---|---|---|
| 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. |
Return Value
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | One or both of the input vectors cannot be normalized. |
| ArgumentNullException | A non-optional argument was null |
| ArgumentOutOfRangeException | upDirection has zero length. -or- forwardDirection has zero length. |
| ArgumentsInconsistentException | The vectors upDirection and forwardDirection are not perpendicular. |