EntityView

open external class EntityView(var entity: Entity, var scene: Scene, var ellipsoid: Ellipsoid = definedExternally)(source)

A utility object for tracking an entity with the camera.

See also

Constructors

Link copied to clipboard
constructor(entity: Entity, scene: Scene, ellipsoid: Ellipsoid = definedExternally)

Types

Link copied to clipboard
external object Companion

Properties

Link copied to clipboard

The bounding sphere of the object.

Link copied to clipboard
external var ellipsoid: Ellipsoid

The ellipsoid to use for orienting the camera. Default value - Ellipsoid.default

Link copied to clipboard
external var entity: Entity

The entity to track with the camera.

Link copied to clipboard
external var scene: Scene

The scene to use.

Functions

Link copied to clipboard
external fun update(time: JulianDate, boundingSphere: BoundingSphere? = definedExternally)

Should be called each animation frame to update the camera to the latest settings.