UNPKG

wdpapi

Version:

51WORLD WdpApi is a set of programming interfaces developed by JavaScript that is responsible for negotiating between web pages and cloud rendering platforms. Supported by 51Cloud rendering platform, it enables the users to create any HTML5 UI element on

61 lines (60 loc) 1.58 kB
import { ObjectAbstract } from '../common/object-abstract'; import { CameraPresetType, CameraPresetEntityAtomType, IGeneratePre } from '../common/interface/camera'; import { ObjectCommon } from '../common/object-common'; /** * @public * @class Camera * @extends ObjectCommon * @implements ObjectAbstract */ declare class Camera extends ObjectCommon implements ObjectAbstract { className: string; private CameraPresetEntityAtom; /** * @constructor * @param {CameraPresetType} opt (optional) */ constructor(opt?: CameraPresetType); /** * @public * @function GetScheme * @returns {{CameraPresetEntityAtom: CameraPresetEntityAtomType}} */ GetScheme(): { CameraPresetEntityAtom: CameraPresetEntityAtomType; }; /** * @public * @function GetData * @returns {CameraPresetType} */ GetData(): CameraPresetType; /** * @public * @function SetData * @param {CameraPresetType} opt * @returns {void} */ SetData(opt: CameraPresetType): void; /** * @public * @function generateAtomData * @param {CameraPresetType} opt * @returns {IGeneratePre} */ generateAtomData(opt: CameraPresetType): IGeneratePre; /** * @public * @function GetValidateRules * @returns {CameraPresetType} */ GetValidateRules(): CameraPresetType; /** * @public * @function Validate * @param {CameraPresetType} opt * @returns {void} */ Validate(opt: CameraPresetType): void; } export default Camera;