![]() | |
BaseTargetRect3DCamera Class |
Namespace: Ab3d.Cameras
public class BaseTargetRect3DCamera : BaseTargetPositionCamera
The BaseTargetRect3DCamera type exposes the following members.
Name | Description | |
---|---|---|
![]() | AbsoluteDistance |
Gets a distance from the camera to the Camera's target position - the value is an absolute value regardless of IsDistancePercent property.
|
![]() | IsDistancePercent |
Gets or sets a Boolean that specifies if the Distance property is specified in percentage or absolute value.
|
![]() | IsDynamicTarget |
Gets or sets a Boolean value that specifies if the Camera is constantly (CompositionTarget.Rendering event) monitoring the position and size of the TargetRect3D and move the camera according to the change.
|
Name | Description | |
---|---|---|
![]() | BaseCreateFrom |
This method is called from CreateFrom method and actually sets the properties on this camera.
(Overrides SphericalCameraBaseCreateFrom(Camera).) |
![]() | CheckTargetRect3D |
Checks if TargetRect was changed - in this case update the camera
|
![]() | ForceRefresh |
Forces a refresh of the camera.
(Overrides SphericalCameraForceRefresh.) |
![]() | GetTargetRect3D |
Gets the value of TargetRect3DProperty
|
![]() ![]() | IsDynamicTargetPropertyChanged |
IsDynamicTargetPropertyChanged
|
![]() | SetCameraForTargetRect |
Updates the TargetPosition based on the targetRect3D
|
![]() | SetCameraPosition(ProjectionCamera) |
Sets the camera position on cameraToUpdate based on the TargetPosition - overridden to use the IsDistancePercent property
(Overrides BaseTargetPositionCameraSetCameraPosition(ProjectionCamera).) |
![]() | SetCameraPosition(ProjectionCamera, Rect3D) |
Sets the camera position on cameraToUpdate based on the targetRect as Rect3D
|
![]() | SetTargetRect3D |
Sets the value of TargetRect3DProperty
|
![]() ![]() | TargetRect3DPropertyChanged |
TargetRect3DPropertyChanged
|
![]() | UnsubscribeRenderingEvent |
Unsubscribe to Rendering event
(Overrides BaseCameraUnsubscribeRenderingEvent.) |
![]() | UpdateCamera |
Updates the PerspectiveCamera
(Overrides BaseTargetPositionCameraUpdateCamera(ProjectionCamera).) |
Name | Description | |
---|---|---|
![]() ![]() | IsDistancePercentProperty |
IsDistancePercentProperty
|
![]() ![]() | IsDynamicTargetProperty |
IsDynamicTargetProperty
|
![]() | isTargetRectDirty |
If true the targetRect3D was changed - the camera need to be updated
|
![]() ![]() | TargetRect3DProperty |
TargetRect3DProperty
|