![]() |
pCon.planner Plugin SDK
Version 8.9
|
Public Member Functions | |
virtual void | GetLookAt ([Out] X3g::Plugin::GeVec3d% pEye,[Out] X3g::Plugin::GeVec3d% pCenter,[Out] X3g::Plugin::GeVec3d% pUp) |
Get orientation of the CameraEntity. More... | |
virtual void | SetLookAt (X3g::Plugin::GeVec3d pEye, X3g::Plugin::GeVec3d pCenter, X3g::Plugin::GeVec3d pUp) |
Set CameraEntity position and rotation. More... | |
virtual void | ZoomToExtents (ReadOnlyCollection< System::String^ >^pEntities, double pMargin, double pAspect) |
Zoom camera in/out to have all the given entities in view. More... | |
virtual void | ZoomToExtents (IEnumerable< DbEntity^ >^pEntities, double pMargin, double pAspect) |
Zoom camera in/out to have all the given entities in view. More... | |
virtual void | CopyFrom (X3g::Plugin::ICamera^ pOther) |
Copy settings from another camera. More... | |
![]() | |
void | ZoomToExtents (ReadOnlyCollection< String^ >^pEntities, double pMargin, double pAspect) |
Fits camera to given entities. More... | |
Static Public Member Functions | |
static CameraEntity^ | FromDbEntity (DbEntity^ pEntity) |
Returns CameraEntity if given DbEntity is a camera. More... | |
Properties | |
virtual System::String^ | Name [get, set] |
The name of the camera. More... | |
virtual X3g::Plugin::CameraProjection | Projection [get, set] |
Set or get the projection of the CameraEntity. More... | |
virtual double | Fov [get, set] |
Set or get the field of view. More... | |
virtual double | YMag [get, set] |
Set or get Y magnification of orthographic camera. More... | |
virtual bool | DofEnabled [get, set] |
Enable or disable the depth of field effect. More... | |
virtual double | DofDistance [get, set] |
Set or get the depth of field value. More... | |
virtual double | DofAperture [get, set] |
Set or get the value of lens aperture / depth of field strength. More... | |
![]() | |
System::String^ | Name |
Optional name of the camera. More... | |
CameraProjection | Projection |
The type of camera projection. More... | |
double | Fov |
The fov (field of view) of perspective camera in degrees. More... | |
double | YMag |
Y magnification of orthographic camera. More... | |
bool | DofEnabled |
True if depth of field is enabled. More... | |
double | DofDistance |
The depth of field distance. More... | |
double | DofAperture |
The depth of field aperture/strength. More... | |
Camera entity.
|
virtual |
Copy settings from another camera.
Implements X3g::Plugin::ICamera.
|
static |
Returns CameraEntity if given DbEntity is a camera.
Otherwise it returns null.
|
virtual |
Get orientation of the CameraEntity.
Implements X3g::Plugin::ICamera.
|
virtual |
Set CameraEntity position and rotation.
pEye | Position of the camera / eye. |
pCenter | The camera / eye will be rotated to have the point pCenter in its center of view. |
pUp | Rotate the camera so the pUp vector is aligned with the up-direction of the cameras view. |
Implements X3g::Plugin::ICamera.
|
virtual |
Zoom camera in/out to have all the given entities in view.
pEntities | Collection of entities to have in view. |
pMargin | Margin to keep around the entities. |
pAspect | The aspect ratio of the desired view. |
|
virtual |
Zoom camera in/out to have all the given entities in view.
pEntities | Enumerable of entities to have in view. |
pMargin | Margin to keep around the entities. |
pAspect | The aspect ratio of the desired view. |
Implements X3g::Plugin::ICamera.
|
getset |
Set or get the value of lens aperture / depth of field strength.
|
getset |
Set or get the depth of field value.
|
getset |
Enable or disable the depth of field effect.
|
getset |
Set or get the field of view.
|
getset |
The name of the camera.
|
getset |
Set or get the projection of the CameraEntity.
|
getset |
Set or get Y magnification of orthographic camera.