![]() |
|
A camera object. More...
Public Member Functions | |
HRESULT | _GetEye ([out] double pPoint3d[3]) |
Returns the position of the camera. | |
HRESULT | _GetDirection ([out] double pVector3d[3]) |
Returns the direction vector for the camera. | |
HRESULT | _GetUp ([out] double pVector3d[3]) |
Returns the up direction vector for the camera. | |
HRESULT | _GetCenter ([out] double pPoint3d[3]) |
Returns the view center of the camera. | |
HRESULT | _GetTarget ([out] double pPoint3d[3]) |
Returns the target of the camera. | |
Properties | |
ISkpPoint3d | Eye [get] |
[propget] Returns the position of the camera. | |
ISkpVector3d | Direction [get] |
[propget] Returns the direction of the camera. | |
ISkpVector3d | Up [get] |
[propget] Returns the up direction of the camera. | |
ISkpPoint3d | Center [get] |
[propget] Returns the view center of the camera. | |
ISkpPoint3d | Target [get] |
[propget] Returns the target of the camera. | |
long | Projection [get] |
[propget] Returns the projection value of the camera. | |
double | NearClip [get] |
[propget] Returns the near clipping distance of the camera. | |
double | FarClip [get] |
[propget] Returns the far clipping distance of the camera. | |
double | FieldOfView [get] |
[propget] Returns the field of view of the camera. | |
double | Height [get] |
[propget] Returns the height of the camera. | |
double | AspectRatio [get] |
[propget] Returns the aspect ratio of the camera. | |
BSTR | Description [get] |
[propget] Returns the camera's description. | |
BOOL | FieldOfViewIsHeight [get] |
[propget] Returns whether the field of view is measured in the y direction. | |
double | ImageWidth [get] |
[propget] Returns the image width of the camera. The image width is used to relate the field of view to the length of the camera lens. | |
double | Center2D ([out] double x) [get] |
Returns the 2D center of the camera. | |
double | Scale2D [get] |
Returns the 2D scale of the camera. | |
BOOL | Camera2D [get] |
[propget] Returns the 2D state of the camera. |
A camera object.
HRESULT ISkpCamera::_GetCenter | ( | [out] double | pPoint3d[3] | ) |
Returns the view center of the camera.
It is assumed that the calling application has allocated space for the return values.
pPoint3d | The view center of the camera in model space. |
HRESULT ISkpCamera::_GetDirection | ( | [out] double | pVector3d[3] | ) |
Returns the direction vector for the camera.
It is assumed that the calling application has allocated space for the return values.
pVector3d | The direction vector. |
HRESULT ISkpCamera::_GetEye | ( | [out] double | pPoint3d[3] | ) |
Returns the position of the camera.
It is assumed that the calling application has allocated space for the return values.
pPoint3d | The position of the camera in model space. |
HRESULT ISkpCamera::_GetTarget | ( | [out] double | pPoint3d[3] | ) |
Returns the target of the camera.
It is assumed that the calling application has allocated space for the return values.
pPoint3d | The target of the camera in model space. |
HRESULT ISkpCamera::_GetUp | ( | [out] double | pVector3d[3] | ) |
Returns the up direction vector for the camera.
It is assumed that the calling application has allocated space for the return values.
pVector3d | The up direction vector. |
double ISkpCamera::AspectRatio [get] |
[propget] Returns the aspect ratio of the camera.
If this function returns 0, then this property is not used, and the value should be ignored.
pVal | The aspect ratio of the camera. |
BOOL ISkpCamera::Camera2D [get] |
[propget] Returns the 2D state of the camera.
pVal | The 2D state of the camera (BOOL). |
ISkpPoint3d ISkpCamera::Center [get] |
[propget] Returns the view center of the camera.
pPoint3d | The view center of the camera in model space. |
double ISkpCamera::Center2D([out] double x) [get] |
Returns the 2D center of the camera.
It is assumed that the calling application has allocated space for the return values.
pPoint2d | The 2D center of the camera. |
BSTR ISkpCamera::Description [get] |
[propget] Returns the camera's description.
pVal | The camera's description. |
ISkpVector3d ISkpCamera::Direction [get] |
[propget] Returns the direction of the camera.
pVector3d | The direction of the camera. |
ISkpPoint3d ISkpCamera::Eye [get] |
[propget] Returns the position of the camera.
pPoint3d | The position of the camera in model space. |
double ISkpCamera::FarClip [get] |
[propget] Returns the far clipping distance of the camera.
pVal | The far clipping distance of the camera. |
double ISkpCamera::FieldOfView [get] |
[propget] Returns the field of view of the camera.
pVal | The field of view of the camera. |
BOOL ISkpCamera::FieldOfViewIsHeight [get] |
[propget] Returns whether the field of view is measured in the y direction.
pVal | true if field of view is measured by height. |
double ISkpCamera::Height [get] |
[propget] Returns the height of the camera.
This only applies in the parallel projection case.
pVal | The of the camera. |
double ISkpCamera::ImageWidth [get] |
[propget] Returns the image width of the camera. The image width is used to relate the field of view to the length of the camera lens.
pVal | = the width of the image on the "film". |
double ISkpCamera::NearClip [get] |
[propget] Returns the near clipping distance of the camera.
pVal | The near clipping distance of the camera. |
long ISkpCamera::Projection [get] |
[propget] Returns the projection value of the camera.
pVal | The projection value of the camera. |
double ISkpCamera::Scale2D [get] |
Returns the 2D scale of the camera.
It is assumed that the calling application has allocated space for the return values.
Scale- | The 2D scale of the camera. |
ISkpPoint3d ISkpCamera::Target [get] |
[propget] Returns the target of the camera.
pPoint3d | The target of the camera in model space. |
ISkpVector3d ISkpCamera::Up [get] |
[propget] Returns the up direction of the camera.
pVector3d | The up direction of the camera. |
©2010 Google - Google Home - About Google |