|
![]() |
The Viewpoint type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
Viewpoint |
Default constructor
|
Methods
Name | Description | |
---|---|---|
![]() |
AlignDirection |
Rotate camera so that it points in given direction using shortest
rotation path.
|
![]() |
AlignUp |
Rotate camera about view direction so that camera up vector is
aligned with given up vector (in same plane as view direction and
given up vector).
|
![]() |
CreateCopy |
Creates a copy of the Viewpoint.
|
![]() |
Dispose()()()() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from NativeHandle.) |
![]() |
Dispose(Boolean) | (Inherited from NativeHandle.) |
![]() |
Equals |
Determines whether the specified object and the current object refer to the same
underlying native object. Returns false if either object has been disposed.
(Inherited from NativeHandle.) |
![]() |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from NativeHandle.) |
![]() |
GetCamera |
Describes viewpoint in terms of an JSON AutodeskCommonCamera object.
|
![]() |
GetHashCode | (Inherited from NativeHandle.) |
![]() |
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
PointAt |
Rotate camera so that it points at given location using shortest
rotation path.
|
![]() |
SetCamera |
Set viewpoint from JSON AutodeskCommonCamera.
|
![]() |
SetExtentsAtFocalDistance |
Set the distances between the left and right planes, and the top and bottom planes of the
view frustum at the focal distance along the view direction from the camera position.
Need to call SetFocalDistance before calling this method.
|
![]() |
ToString | (Inherited from NativeHandle.) |
![]() |
TrySetCamera |
Try to set viewpoint from JSON AutodeskCommonCamera.
|
![]() |
ZoomBox |
Zooms the viewpoint to view a given bounding box.
|
Properties
Name | Description | |
---|---|---|
![]() |
AngularSpeed |
Angular speed of the camera.
|
![]() |
ApertureDiameter |
The diameter of the physical camera aperture in camera units. Used for advanced rendering effects.
|
![]() |
AspectRatio |
Aspect ratio of camera (width/height). Default 1.0 (square).
|
![]() |
FarDistance |
Distance from eye point to far plane along view direction. Must be greater than near distance.
|
![]() |
FarDistanceType |
Describes the users intentions if the product has to modify the far distance (typically because of graphics system limitations).
|
![]() |
FarPlaneDistance |
Far plane distance.
|
![]() |
FocalDistance |
The focal distance of the camera.
|
![]() |
HasAngularSpeed |
Determines if AngularSpeed has been set
|
![]() |
HasFocalDistance |
Determines if FocalDistance has been set
|
![]() |
HasLighting |
Determines if Lighting has been set
|
![]() |
HasLinearSpeed |
Determines if LinearSpeed has been set
|
![]() |
HasRenderStyle |
Determines if RenderStyle has been set
|
![]() |
HasTool |
Determines if Tool has been set
|
![]() |
HasViewer |
Determines if Viewer has been set.
|
![]() |
HasWorldUpVector |
Determines if WorldUpVector has been set
|
![]() |
HeightField |
Defines camera field of view in combination with aspect ratio.
For a perspective camera, this is the vertical field of view
(the angle between top and bottom planes of the camera view frustum).
For an orthographic camera, this is the distance between top and
bottom planes of the camera view frustum.
Default 0.785398 (45 degrees)
|
![]() |
HorizontalExtentAtFocalDistance |
The distance between the left and right planes of the view frustum at
the focal distance along the view direction from the camera position.
|
![]() |
HorizontalScale |
Required horizontal scaling of the image when adapting the camera view to the display window.
|
![]() |
ImageFit |
Describes how to adapt the camera view so that it's aspect ratio matches that of the display window.
|
![]() |
IsDisposed |
Gets a value indicating whether the object has been disposed and is no longer available.
(Inherited from NativeHandle.) |
![]() |
IsReadOnly | (Overrides NativeHandle..::..IsReadOnly.) |
![]() |
Lighting |
Lighting used for this viewpoint
|
![]() |
LinearSpeed |
Linear speed of the camera.
|
![]() |
NearDistance |
Distance from eye point to near plane along view direction. Must be greater than zero.
|
![]() |
NearDistanceType |
Describes the users intentions if the product has to modify the near distance (typically because of graphics system limitations).
|
![]() |
NearPlaneDistance |
Near plane distance.
|
![]() |
Position |
Position of the camera.
|
![]() |
Projection |
The projection type of the current viewpoint.
|
![]() |
RenderStyle |
The style used for rendering.
|
![]() |
RightOffsetAtFocalDistance |
Distance that the plane normal to the view direction, at the focal distance
along the view direction from the camera position, is offset to the right.
Need to call SetFocalDistance before using this property.
|
![]() |
RightOffsetFactor |
The ratio between the right offset (the distance that the target plane is offset to the right) and the
horizontal extent (the distance between the left and right planes of the view frustum at the target distance).
|
![]() |
Rotation |
Rotation of camera from base orientation. The base
orientation is looking down the negative Z-axis with
+X to the right and +Y up.
Default 0 0 0 1 (no rotation).
|
![]() |
ShutterSpeed |
The time measured in seconds that the physical aperture is open. Used for advanced rendering effects.
|
![]() |
Tool |
The Tool in use.
|
![]() |
UpOffsetAtFocalDistance |
Distance that the plane normal to the view direction, at the focal distance
along the view direction from the camera position, is offset upwards.
Need to call SetFocalDistance before using this property.
|
![]() |
UpOffsetFactor |
The ratio between the up offset (the distance that the target plane is offset upwards) and the
vertical extent (the distance between the top and bottom planes of the view frustum at the target distance).
|
![]() |
VerticalExtentAtFocalDistance |
The distance between the top and bottom planes of the view frustum
at the focal distance along the view direction from the camera position.
|
![]() |
ViewerAvatar |
Avatar used for this viewpoint.
|
![]() |
ViewerCameraMode |
Avatar used for this viewpoint.
|
![]() |
WorldUpVector |
Preferred up vector. Used by "walk" paradigm navigation methods to move on a plane.
|