11
2- export class Engine {
3- constructor ( canvasOrContext : Nullable < HTMLCanvasElement | WebGLRenderingContext > , antialias ?: boolean , options ?: EngineOptions , adaptToDeviceRatio ?: boolean ) ;
2+ declare module BABYLON . GUI {
3+ //export type Nullable<T> = T | null;
4+ //export type Vector3 = { x: number; };
5+ //export class AbstractMesh { }
6+ //export class Otherthing { }
7+ //export interface IDisposable { }
8+ //export interface IInterfaceResponseType { }
9+ //export enum EnumDeclaration { Value1 }
10+
11+ export class Everything < T > extends Otherthing implements IDisposable {
12+ //export class Everything<T> {
13+ // Static Accessors
14+ //static get Now(): number;
15+ //static get NowValues(): number[];
16+ //static get UNITMODE_PERCENTAGE(): number;
17+ //static get Up(): Vector3;
18+ //static get Downs(): Vector3[];
19+
20+ //// Static Properties
21+ //static readonly NoneLogLevel: number;
22+ //static readonly LogLevels: number[];
23+ //static readonly Vector3LogLevel: Vector3;
24+ //static readonly Vector3List: Vector3[];
25+ //static readonly Vector3Promise: Promise<Vector3>;
26+
27+ //// Static Methods
28+ //static makeObserverTopPriority(observer: Observer<T>): void; // No Return Type
29+ //// TODO: [ACTION_METHODS] : This is not supported, it is the ability to add a callback.
30+ //static OnNewCacheEntry: (entry: string) => void; // Action Type
31+ //static Identity(): Matrix2D; // Class
32+ //static Identitys(): Matrix2D[]; // Array Class
33+ //static numberArray(): number[]; // Array
34+ //static numberMethod(): number; // Primitive
35+ //static numberArrayObj(): Array<number>; // Array
36+ //static FromArray(array: DeepImmutable<ArrayLike<number>>, offset?: number): Vector3;
37+ //static get InterfaceResponseType(): IInterfaceResponseType;
38+
39+ //// Accessors
40+ //get linkedMesh(): BABYLON.Nullable<BABYLON.AbstractMesh>;
41+ //get observers(): Array<Observer<T>>;
42+ //get texts(): string[];
43+ //get text(): string;
44+ //set text(value: string);
45+ //get style(): BABYLON.Nullable<Style>;
46+ //set style(value: BABYLON.Nullable<Style>);
47+ //get surroundingMeshes(): Nullable<AbstractMesh[]>;
48+ //set surroundingMeshes(meshes: Nullable<AbstractMesh[]>);
49+
50+ //// Properties
51+ //num: number;
52+ //width: string;
53+ //widths: string[];
54+ //height: Vector2;
55+ //matrix: Vector2[];
56+ //floatArrayExample: FloatArray;
57+ //float32ArrayExample: Float32Array;
58+ //indicesArrayExample: IndicesArray;
59+ //uint8ArrayExample: Uint8Array;
60+ //webkitURL: typeof URL;
61+
62+ //// Constructor
63+ //constructor(arg1: string,
64+ // arg2: Class1 | Class2,
65+ // arg3: number | undefined | null,
66+ // arg4?: number,
67+ // arg5?: Class3,
68+ // arg6?: { item: string; });
69+
70+ // Methods
71+ // Property that is a Method
72+ javaScriptApiFunctionClass : Function ;
73+ //literalTypeArgument(literal: { prop1: string }): void;
74+ //isEqualsTo(other: Measure): boolean;
75+ //isBooleans(): boolean[];
76+ //Matrixices(): Vector2[];
77+ //TheMatrix(): Vector2;
78+ //makeObserverTopPriority(observer: Observer<T>): void;
79+ //add(callback: (eventData: T, eventState: EventState) => void,
80+ // mask?: number,
81+ // insertFirst?: boolean,
82+ // scope?: any,
83+ // unregisterOnFirstCall?: boolean): Nullable<Observer<T>>;
84+ //theOtherMatrix<D>(methodData: D, classData: T): Vector2;
85+ //promiseVoid(): Promise<void>;
86+ //nullableClassStyle(): Nullable<Style>;
87+ //nullableGenericNumber(): Nullable<number>;
88+ //orderNullArguments(scene: Scene | null | undefined, animatables: Animatable[], targetConverter?: Nullable<(target: any) => Nullable<Node>>): void;
89+ //literalTypesMethod(scene: { name: string }, animatables: Nullable<{ name: string }>, targetConverter?: Array<{ node: Node }>): Promise<{ name: string }>;
90+ //promiseTyped(): Promise<Array<Node>>;
91+
92+ //// modifiers
93+ //public publicProperty: string;
94+ //private privateProperty: string;
95+ //protected protectedProperty: string;
96+ }
497}
0 commit comments