Click or drag to resize

ViewEntityFromOffset<TEntity>.Update Method

Moves the camera's reference point to the position of the tracked entity while offsetting the camera position by amount of entity movement.

Namespace:  AGI.Foundation.Tracking
Assembly:  AGI.Foundation.Tracking.Graphics (in AGI.Foundation.Tracking.Graphics.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public void Update(
	Transaction transaction
)

Parameters

transaction
Type: AGI.Foundation.Transaction
The transaction to use.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if transaction is null.
PropertyInvalidExceptionThrown if Camera is null.
PropertyInvalidExceptionThrown if Entity is null.
See Also