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
51 lines (50 loc) • 1.28 kB
TypeScript
import { ResultType, CoordType, RotatorType, ScaleType } from '../common/data-type';
/**
* @public
* @class TransformAtomController
*/
declare class TransformAtomController {
private apiClassName;
private obj;
/**
* @constructor
* @param {any} obj
*/
constructor(obj: any);
/**
* @public
* @async
* @function SetLocation
* @param {string} eid
* @param {CoordType} location
* @returns {Promise<ResultType>}
*/
SetLocation(eid: string, location: CoordType): Promise<ResultType>;
/**
* @public
* @async
* @function SetRotator
* @param {string} eid
* @param {RotatorType} rotator
* @returns {Promise<ResultType>}
*/
SetRotator(eid: string, rotator: RotatorType): Promise<ResultType>;
/**
* @public
* @async
* @function SetScale3d
* @param {string} eid
* @param {ScaleType} scale3d
* @returns {Promise<ResultType>}
*/
SetScale3d(eid: string, scale3d: ScaleType): Promise<ResultType>;
/**
* @public
* @async
* @function GetTransform
* @param {string} eid
* @returns {Promise<ResultType>}
*/
GetTransform(eid: string): Promise<ResultType>;
}
export default TransformAtomController;