Click or drag to resize
AB4D logo

BaseTargetRect3DCameraIsDynamicTarget Property

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.

Namespace: Ab3d.Cameras
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.2.9104.2045
Syntax
C#
public bool IsDynamicTarget { get; set; }

Property Value

Boolean
Remarks

If the IsDynamicTarget is true the camera is subscribed to CompositionTarget.Rendering event to constantly monitor the TargetRect3D.

This can slightly affect the performance of the application because the position and size of the TargetRect3D is checked event if it is not changed. To avoid this and if you know when the TargetRect3D is changed it is recommended that after the change of TargetRect3D a Refresh method is called to update the camera according to the new TargetRect3D.

See Also