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
31 lines (30 loc) • 1.42 kB
TypeScript
import { EntityEidType, BasicInfoAtomType, TransformAtomType, VisibleAtomType, EntityFlagAtomType, EntityOutlinerAtomType } from '../data-type';
/**
* @interface ParticleType
* @extends EntityEidType,Partial<BasicInfoAtomType>,Partial<TransformAtomType>,Partial<ParticleEntityAtomType>,Partial<VisibleAtomType>,Partial<EntityFlagAtomType>
*/
export interface ParticleType extends EntityEidType, Partial<BasicInfoAtomType>, Partial<TransformAtomType>, Partial<ParticleEntityAtomType>, Partial<VisibleAtomType>, Partial<EntityFlagAtomType>, Partial<EntityOutlinerAtomType> {
}
/**
* @interface ParticleEntityAtomType
* @param {string} particleType
*/
export interface ParticleEntityAtomType {
particleType: string;
}
/**
* @interface IGenerate
* @param {Partial<ParticleEntityAtomType>} ParticleEntityAtom (optional)
* @param {Partial<BasicInfoAtomType>} BasicInfoAtom (optional)
* @param {Partial<TransformAtomType>} TransformAtom (optional)
* @param {Partial<VisibleAtomType>} VisibleAtom (optional)
* @param {Partial<EntityFlagAtomType>} EntityFlagAtom (optional)
*/
export interface IGenerate {
ParticleEntityAtom?: Partial<ParticleEntityAtomType>;
BasicInfoAtom?: Partial<BasicInfoAtomType>;
TransformAtom?: Partial<TransformAtomType>;
VisibleAtom?: Partial<VisibleAtomType>;
EntityFlagAtom?: Partial<EntityFlagAtomType>;
EntityOutlinerAtom?: Partial<EntityOutlinerAtomType>;
}