Interface ICameraModule

interface ICameraModule {
    setCameraLookAt: ((position, lookAt, options?) => void);
    viewHelperEnable: boolean;
}

Implemented by

Properties

setCameraLookAt: ((position, lookAt, options?) => void)

设置相机朝向

Type declaration

    • (position, lookAt, options?): void
    • 设置相机朝向

      Parameters

      • position: Vector3

        相机位置

      • lookAt: Vector3

        朝向

      • Optional options: boolean | Record<string, any>

        选项

      Returns void

Param: position

相机位置

Param: lookAt

朝向

Param: options

选项

viewHelperEnable: boolean

是否显示视角显示器