babylonjs-loaders
Advanced tools
Comparing version 3.2.0-alpha4 to 3.2.0-alpha6
@@ -886,3 +886,3 @@ /// <reference types="babylonjs"/> | ||
index: number; | ||
targets: any[]; | ||
babylonAnimationGroup: AnimationGroup; | ||
} | ||
@@ -1024,3 +1024,3 @@ interface IGLTFAsset extends IGLTFChildRootProperty { | ||
} | ||
interface IGLTF extends IGLTFProperty { | ||
interface _IGLTF extends IGLTFProperty { | ||
accessors?: IGLTFAccessor[]; | ||
@@ -1049,3 +1049,3 @@ animations?: IGLTFAnimation[]; | ||
class GLTFLoader implements IGLTFLoader { | ||
_gltf: IGLTF; | ||
_gltf: _IGLTF; | ||
_babylonScene: Scene; | ||
@@ -1185,2 +1185,4 @@ private _disposed; | ||
protected _loadNode(loader: GLTFLoader, context: string, node: IGLTFNode): boolean; | ||
protected _loadRoot(loader: GLTFLoader, context: string, root: BABYLON.GLTF2._IGLTF): boolean; | ||
protected _loadScene(loader: GLTFLoader, context: string, scene: IGLTFScene): boolean; | ||
protected _loadMaterial(loader: GLTFLoader, context: string, material: IGLTFMaterial, assign: (babylonMaterial: Material, isNew: boolean) => void): boolean; | ||
@@ -1190,2 +1192,4 @@ protected _loadExtension<T>(context: string, property: IGLTFProperty, action: (context: string, extension: T, onComplete: () => void) => void): boolean; | ||
static TraverseNode(loader: GLTFLoader, context: string, node: IGLTFNode, action: (node: IGLTFNode, parentNode: IGLTFNode) => boolean, parentNode: IGLTFNode): boolean; | ||
static LoadRoot(loader: GLTFLoader, context: string, root: BABYLON.GLTF2._IGLTF): boolean; | ||
static LoadScene(loader: GLTFLoader, context: string, scene: IGLTFScene): boolean; | ||
static LoadNode(loader: GLTFLoader, context: string, node: IGLTFNode): boolean; | ||
@@ -1221,1 +1225,12 @@ static LoadMaterial(loader: GLTFLoader, context: string, material: IGLTFMaterial, assign: (babylonMaterial: Material, isNew: boolean) => void): boolean; | ||
} | ||
declare module BABYLON.GLTF2.Extensions { | ||
class KHRLights extends GLTFLoaderExtension { | ||
readonly name: string; | ||
private applyCommonProperties(light, lightInfo); | ||
protected _loadScene(loader: GLTFLoader, context: string, scene: IGLTFScene): boolean; | ||
protected _loadNode(loader: GLTFLoader, context: string, node: IGLTFNode): boolean; | ||
protected _loadRoot(loader: GLTFLoader, context: string, root: BABYLON.GLTF2._IGLTF): boolean; | ||
} | ||
} |
@@ -7,3 +7,3 @@ { | ||
"description": "The Babylon.js file loaders library is an extension you can use to load different 3D file types into a Babylon scene.", | ||
"version": "3.2.0-alpha4", | ||
"version": "3.2.0-alpha6", | ||
"repository": { | ||
@@ -35,5 +35,3 @@ "type": "git", | ||
"node": "*" | ||
}, | ||
"_id": "babylonjs-loaders@3.1.0-alpha1", | ||
"_from": "babylonjs-loaders@" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
434426
7083