ViewEntityFromOffsetTEntity Constructor (Camera, TEntity, Cartesian, CentralBody) |
Creates a new instance, specifying all parameters.
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 ViewEntityFromOffset(
Camera camera,
TEntity entity,
Cartesian offset,
CentralBody centralBody
)
Public Sub New (
camera As Camera,
entity As TEntity,
offset As Cartesian,
centralBody As CentralBody
)
public:
ViewEntityFromOffset(
Camera^ camera,
TEntity entity,
Cartesian offset,
CentralBody^ centralBody
)
new :
camera : Camera *
entity : 'TEntity *
offset : Cartesian *
centralBody : CentralBody -> ViewEntityFromOffset
Parameters
- camera
- Type: AGI.Foundation.GraphicsCamera
The camera to use. - entity
- Type: TEntity
The entity to track. - offset
- Type: AGI.Foundation.CoordinatesCartesian
The initial offset of the camera specified as AxesEastNorthUp from the entity's position. - centralBody
- Type: AGI.Foundation.CelestialCentralBody
The CentralBody about which to rotate the camera.
See Also