|
|
@@ -11544,7 +11544,7 @@ declare module BABYLON {
|
|
|
*/
|
|
|
export interface ISceneSerializableComponent extends ISceneComponent {
|
|
|
/**
|
|
|
- * Adds all the element from the container to the scene
|
|
|
+ * Adds all the elements from the container to the scene
|
|
|
* @param container the container holding the elements
|
|
|
*/
|
|
|
addFromContainer(container: AbstractScene): void;
|
|
|
@@ -31126,6 +31126,11 @@ declare module BABYLON {
|
|
|
* Target to animate
|
|
|
*/
|
|
|
target: any;
|
|
|
+ /**
|
|
|
+ * Serialize the object
|
|
|
+ * @returns the JSON object representing the current entity
|
|
|
+ */
|
|
|
+ serialize(): any;
|
|
|
}
|
|
|
/**
|
|
|
* Use this class to create coordinated animations on multiple targets
|
|
|
@@ -31295,6 +31300,11 @@ declare module BABYLON {
|
|
|
*/
|
|
|
clone(newName: string, targetConverter?: (oldTarget: any) => any): AnimationGroup;
|
|
|
/**
|
|
|
+ * Serializes the animationGroup to an object
|
|
|
+ * @returns Serialized object
|
|
|
+ */
|
|
|
+ serialize(): any;
|
|
|
+ /**
|
|
|
* Returns a new AnimationGroup object parsed from the source provided.
|
|
|
* @param parsedAnimationGroup defines the source
|
|
|
* @param scene defines the scene that will receive the animationGroup
|
|
|
@@ -33788,7 +33798,7 @@ declare module BABYLON {
|
|
|
*/
|
|
|
serialize(serializationObject: any): void;
|
|
|
/**
|
|
|
- * Adds all the element from the container to the scene
|
|
|
+ * Adds all the elements from the container to the scene
|
|
|
* @param container the container holding the elements
|
|
|
*/
|
|
|
addFromContainer(container: AbstractScene): void;
|
|
|
@@ -46418,7 +46428,7 @@ declare module BABYLON {
|
|
|
*/
|
|
|
serialize(serializationObject: any): void;
|
|
|
/**
|
|
|
- * Adds all the element from the container to the scene
|
|
|
+ * Adds all the elements from the container to the scene
|
|
|
* @param container the container holding the elements
|
|
|
*/
|
|
|
addFromContainer(container: AbstractScene): void;
|
|
|
@@ -46947,6 +46957,17 @@ declare module BABYLON {
|
|
|
private _drawRenderTargetPredicate;
|
|
|
private _drawRenderTargetBackground;
|
|
|
private _drawRenderTargetForeground;
|
|
|
+ /**
|
|
|
+ * Adds all the elements from the container to the scene
|
|
|
+ * @param container the container holding the elements
|
|
|
+ */
|
|
|
+ addFromContainer(container: AbstractScene): void;
|
|
|
+ /**
|
|
|
+ * Removes all the elements in the container from the scene
|
|
|
+ * @param container contains the elements to remove
|
|
|
+ * @param dispose if the removed element should be disposed (default: false)
|
|
|
+ */
|
|
|
+ removeFromContainer(container: AbstractScene, dispose?: boolean): void;
|
|
|
}
|
|
|
}
|
|
|
declare module BABYLON {
|
|
|
@@ -47334,7 +47355,7 @@ declare module BABYLON {
|
|
|
*/
|
|
|
rebuild(): void;
|
|
|
/**
|
|
|
- * Adds all the element from the container to the scene
|
|
|
+ * Adds all the elements from the container to the scene
|
|
|
* @param container the container holding the elements
|
|
|
*/
|
|
|
addFromContainer(container: AbstractScene): void;
|
|
|
@@ -47390,7 +47411,7 @@ declare module BABYLON {
|
|
|
*/
|
|
|
serialize(serializationObject: any): void;
|
|
|
/**
|
|
|
- * Adds all the element from the container to the scene
|
|
|
+ * Adds all the elements from the container to the scene
|
|
|
* @param container the container holding the elements
|
|
|
*/
|
|
|
addFromContainer(container: AbstractScene): void;
|