@animech-public/playcanvas
Version:
PlayCanvas WebGL game engine
48 lines (47 loc) • 1.32 kB
TypeScript
export const apps: {};
export const common: {};
export const config: {};
export const data: {};
/**
* Merge the contents of two objects into a single object.
*
* @param {object} target - The target object of the merge.
* @param {object} ex - The object that is merged with target.
* @returns {object} The target object.
* @example
* const A = {
* a: function () {
* console.log(this.a);
* }
* };
* const B = {
* b: function () {
* console.log(this.b);
* }
* };
*
* pc.extend(A, B);
* A.a();
* // logs "a"
* A.b();
* // logs "b"
* @ignore
*/
export function extend(target: object, ex: object): object;
/**
* The engine revision number. This is the Git hash of the last commit made to the branch
* from which the engine was built.
*/
export const revision: "$_CURRENT_SDK_REVISION";
/**
* Extended typeof() function, returns the type of the object.
*
* @param {object} obj - The object to get the type of.
* @returns {string} The type string: "null", "undefined", "number", "string", "boolean", "array", "object", "function", "date", "regexp" or "float32array".
* @ignore
*/
export function type(obj: object): string;
/**
* The engine version number. This is in semantic versioning format (MAJOR.MINOR.PATCH).
*/
export const version: "$_CURRENT_SDK_VERSION";