@polyzone/core
Version:
PolyZone core API
10 lines (9 loc) • 425 B
TypeScript
import { GameObjectComponent } from '../GameObjectComponent';
import type { Vector3 } from '../../util';
export declare abstract class CameraComponent extends GameObjectComponent {
/**
* Point the {@link _GameObject} this camera component is attached to towards a position in world space.
* @param target Position to face (expressed in world coordinates).
*/
abstract pointAt(target: Vector3): void;
}