Commit f34e539c authored by heng.zhang3@inzymeits.com's avatar heng.zhang3@inzymeits.com
Browse files

51world示例集合

parent d4557fba
export declare class ErrController {
Log(...mess: any[]): void;
}
export declare class EventListObj {
private list;
private dbList;
private enterList;
private outList;
private listType;
private dbListType;
private enterListType;
private outListType;
Get(eid?: string): any;
Set(obj: any, func: any): void;
Remove(eid?: string): void;
GetDb(eid?: string): any;
SetDb(obj: any, func: any): void;
RemoveDb(eid?: string): void;
GetEnter(eid?: string): any;
SetEnter(obj: any, func: any): void;
RemoveEnter(eid?: string): void;
GetOut(eid?: string): any;
SetOut(obj: any, func: any): void;
RemoveOut(eid?: string): void;
GetType(type?: string): any;
SetType(type: string, func: any): void;
RemoveType(type?: string): void;
GetDbType(type?: string): any;
SetDbType(type: string, func: any): void;
RemoveDbType(type?: string): void;
GetEnterType(type?: string): any;
SetEnterType(type: string, func: any): void;
RemoveEnterType(type?: string): void;
GetOutType(type?: string): any;
SetOutType(type: string, func: any): void;
RemoveOutType(type?: string): void;
}
import { EntityEidType, BasicInfoAtomType } from '../data-type';
export interface BoundType extends EntityEidType, Partial<BasicInfoAtomType> {
moving?: any;
path?: any;
boundStyle?: Partial<MoveAlongPathEntityAtomType>;
}
export interface MoveAlongPathEntityAtomType {
movingEid: string | null;
pathEid: string | null;
time: number;
bLoop: boolean;
bReverse: boolean;
}
import { EntityEidType, CoordType, BasicInfoAtomType, MinMaxType, Rotator2DType } from '../data-type';
export interface CameraPresetType extends EntityEidType, Partial<BasicInfoAtomType>, Partial<CameraPresetEntityAtomType> {
}
export interface CameraPresetEntityAtomType {
bDefaultCamera: boolean;
location: CoordType;
rotation: Rotator2DType;
pitchLimit: MinMaxType;
yawLimit: MinMaxType;
viewDistanceLimit: MinMaxType;
fieldOfView: number;
controlMode: string;
}
export interface CameraControlType {
targetPosition?: CoordType;
rotation?: Rotator2DType;
distance?: number;
flyTime?: number;
}
export interface CameraFocusType {
rotation?: Rotator2DType;
distanceFactor?: number;
flyTime?: number;
entity?: Array<any>;
eids?: Array<string>;
}
export interface CameraFollowType extends EntityEidType {
entity?: any;
followRotation?: Rotator2DType;
useRelativeRotation?: boolean;
distance?: number;
}
export interface CameraRotateType {
direction?: string;
velocity?: number;
}
export interface CameraRoamAtomType {
frames: Array<any>;
}
export interface CameraRoamType extends EntityEidType, Partial<BasicInfoAtomType>, Partial<CameraRoamAtomType> {
}
import { EntityEidType, BasicInfoAtomType, IPointValueAtom } from '../data-type';
export interface ColumnarHeatMapEntityAtomType {
type: string;
brushDiameter: number;
mappingValueRange: Array<number>;
columnarWidth: number;
mappingHeightRange: Array<number>;
enableGap: boolean;
gradientSetting: Array<string>;
}
export interface ColumnarHeatMapType extends EntityEidType, Partial<BasicInfoAtomType> {
columnarHeatMapStyle?: Partial<ColumnarHeatMapEntityAtomType>;
points?: IPointValueAtom;
}
import { EntityEidType, EntityGeometryType, BasicInfoAtomType, TransformAtomType } from '../data-type';
export interface EffectType extends EntityEidType, EntityGeometryType, Partial<BasicInfoAtomType>, Partial<TransformAtomType>, Partial<EffectsAtomType> {
}
export interface EffectsAtomType {
bActive: boolean;
speed: number;
colorParameters: {
paramName: {
r: number;
g: number;
b: number;
a: number;
};
};
vectorParameters: {
paramName: Array<number>;
};
intParameters: {
paramName: number;
};
floatParameters: {
paramName: number;
};
boolParameters: {
paramName: boolean;
};
}
export interface WdpEnvironmentAtomType {
skylightTime: string;
bSkylightRealtime: boolean;
sceneWeather: string;
bSceneWeatherRealtime: boolean;
}
import { EntityEidType, VisibleAtomType, BasicInfoAtomType, TransformAtomType, CoordType, RotatorType, ScaleType } from '../data-type';
export interface GroupType extends EntityEidType, Partial<BasicInfoAtomType>, Partial<TransformAtomType>, Partial<VisibleAtomType> {
children?: Array<any>;
}
export interface EntityChildrenAtomType {
childrenEids: Array<string>;
}
export interface WdpGroupTransformAtomType {
location: CoordType;
rotator: RotatorType;
scale3d: ScaleType;
}
import { EntityEidType, BasicInfoAtomType, IPointValueAtom } from '../data-type';
export interface HeatMapEntityAtomType {
type: string;
brushDiameter: number;
mappingValueRange: Array<number>;
gradientSetting: Array<string>;
}
export interface HeatMapType extends EntityEidType, Partial<BasicInfoAtomType> {
heatMapStyle?: Partial<HeatMapEntityAtomType>;
points?: IPointValueAtom;
}
import { EntityEidType, BasicInfoAtomType, TransformAtomType, AssetAtomType } from '../data-type';
import { MaterialAtomType } from './material';
export interface HierarchyType extends EntityEidType, Partial<BasicInfoAtomType>, Partial<TransformAtomType>, Partial<MaterialAtomType>, Partial<AssetAtomType> {
}
import { EntityEidType, BasicInfoAtomType, IPolygon2DAtom } from '../data-type';
export interface HighlightAreaEntityAtomType {
interiorColor: string;
exteriorColor: string;
exteriorOutlineColor: string;
exteriorSaturation: number;
exteriorBrightness: number;
exteriorContrast: number;
}
export interface HighlightAreaType extends EntityEidType, Partial<BasicInfoAtomType> {
highlightAreaStyle?: Partial<HighlightAreaEntityAtomType>;
polygon2D?: Partial<IPolygon2DAtom>;
}
export interface IMaterial {
componentId?: string | null;
materialIndex?: number;
materialName?: string;
}
export interface MaterialAtomType {
changedMaterialInfo: Array<IMaterial>;
}
import { Coord2DType } from '../data-type';
export interface IMiniMap {
eid?: string | null;
type?: string;
source?: {
bg?: string;
needle?: string;
mask?: string;
frame?: string;
};
mappingAnchors?: Array<Array<number>>;
display?: {
position?: Coord2DType;
size?: number;
};
}
import { EntityEidType, BasicInfoAtomType } from '../data-type';
export interface WdpSceneOutlinerAtomType {
eids: {
[key: string]: {
eids: Array<string>;
};
};
}
export interface SceneOutlinerType extends EntityEidType, Partial<BasicInfoAtomType> {
entities?: {
[key: string]: Array<Record<string, any>>;
};
}
import { EntityEidType, BasicInfoAtomType, IPolylineATom } from '../data-type';
export interface ParabolaEntityAtomType {
type: string;
topHeight: number;
topScale: number;
width: number;
color: string;
gather: boolean;
}
export interface ParabolaType extends EntityEidType, Partial<BasicInfoAtomType> {
parabolaStyle?: Partial<ParabolaEntityAtomType>;
polyline?: IPolylineATom;
}
import { EntityEidType, BasicInfoAtomType, TransformAtomType } from '../data-type';
export interface ParticleType extends EntityEidType, Partial<BasicInfoAtomType>, Partial<TransformAtomType>, Partial<ParticleEntityAtomType> {
}
export interface ParticleEntityAtomType {
particleType: string;
}
import { EntityEidType, BasicInfoAtomType, IPolylineATom } from '../data-type';
export interface PathType extends EntityEidType, Partial<BasicInfoAtomType> {
pathStyle?: Partial<PathEntityAtomType>;
polyline?: IPolylineATom;
}
export interface PathEntityAtomType {
type: string;
width: number;
color: string;
passColor: string;
}
import { MinMaxType, Coord2DType, EntityEidType, BasicInfoAtomType, TransformAtomType } from '../data-type';
export interface PoiType extends EntityEidType, Partial<BasicInfoAtomType>, Partial<TransformAtomType> {
poiStyle?: Partial<PoiEntityAtomType>;
}
export interface PoiEntityAtomType {
markerNormalUrl: string;
markerActivateUrl: string;
markerSize: MinMaxType;
labelBgImageUrl: string;
labelBgSize: MinMaxType;
labelBgOffset: Coord2DType;
labelContent: Array<string>;
}
import { EntityEidType, BasicInfoAtomType, IPolygon2DAtom } from '../data-type';
export interface RangeEntityAtomType {
type: string;
fillAreaType: string;
height: number;
strokeWeight: number;
color: string;
}
export interface RangeType extends EntityEidType, Partial<BasicInfoAtomType> {
rangeStyle?: Partial<RangeEntityAtomType>;
polygon2D?: Partial<IPolygon2DAtom>;
}
import { EntityEidType, BasicInfoAtomType, TransformAtomType } from '../data-type';
export interface RasterType extends EntityEidType, Partial<BasicInfoAtomType>, Partial<TransformAtomType> {
rasterStyle?: Partial<RasterEntityAtomType>;
}
export interface RasterEntityAtomType {
path: string;
type: string;
gradientSetting: Array<string>;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment