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

35 lines (34 loc) 1.41 kB
import { EntityEidType, BasicInfoAtomType, VisibleAtomType, EntityFlagAtomType, EntityOutlinerAtomType } from '../data-type'; /** * @interface WdpEnvironmentAtomType * @param {string} skylightTime * @param {boolean} bSkylightRealtime * @param {string} sceneWeather * @param {boolean} bSceneWeatherRealtime */ export interface WdpEnvironmentAtomType { skylightTime: string; bSkylightRealtime: boolean; sceneWeather: string; bSceneWeatherRealtime: boolean; } /** * @interface EnvironmentType * @extends EntityEidType,Partial<BasicInfoAtomType>,Partial<VisibleAtomType>,Partial<EntityFlagAtomType> * @param {Partial<WdpEnvironmentAtomType>} environmentStyle (optional) */ export interface EnvironmentType extends EntityEidType, Partial<BasicInfoAtomType>, Partial<VisibleAtomType>, Partial<EntityFlagAtomType>, Partial<EntityOutlinerAtomType> { environmentStyle?: Partial<WdpEnvironmentAtomType>; } /** * @interface IGenerate * @param {Partial<WdpEnvironmentAtomType>} WdpEnvironmentAtom (optional) * @param {Partial<BasicInfoAtomType>} BasicInfoAtom (optional) * @param {Partial<EntityFlagAtomType>} EntityFlagAtom (optional) */ export interface IGenerate { WdpEnvironmentAtom?: Partial<WdpEnvironmentAtomType>; BasicInfoAtom?: Partial<BasicInfoAtomType>; EntityFlagAtom?: Partial<EntityFlagAtomType>; EntityOutlinerAtom?: Partial<EntityOutlinerAtomType>; }