Skip to content

Commit

Permalink
New nodes #6012
Browse files Browse the repository at this point in the history
  • Loading branch information
deltakosh committed Oct 10, 2019
1 parent f3cf4d7 commit c6ec4c4
Show file tree
Hide file tree
Showing 56 changed files with 967 additions and 252 deletions.
54 changes: 54 additions & 0 deletions Playground/babylon.d.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34893,6 +34893,10 @@ declare module BABYLON {
* @see http://doc.babylonjs.com/how_to/playing_sounds_and_music
*/
audioListenerPositionProvider: Nullable<() => Vector3>;
/**
* Gets or sets a refresh rate when using 3D audio positioning
*/
audioPositioningRefreshRate: number;
}
/**
* Defines the sound scene component responsible to manage any sounds
Expand All @@ -34919,6 +34923,10 @@ declare module BABYLON {
* Please use the according Switch methods to change output.
*/
readonly headphone: boolean;
/**
* Gets or sets a refresh rate when using 3D audio positioning
*/
audioPositioningRefreshRate: number;
private _audioListenerPositionProvider;
/**
* Gets the current audio listener position provider
Expand Down Expand Up @@ -34978,6 +34986,9 @@ declare module BABYLON {
* Switch audio to normal speakers.
*/
switchAudioModeForNormalSpeakers(): void;
private _cachedCameraDirection;
private _cachedCameraPosition;
private _lastCheck;
private _afterRender;
}
}
Expand Down Expand Up @@ -52912,6 +52923,10 @@ declare module BABYLON {
*/
serialize(): any;
/** @hidden */private _deserialize(serializationObject: any, scene: Scene, rootUrl: string): void;
/**
* Release resources
*/
dispose(): void;
}
}
declare module BABYLON {
Expand Down Expand Up @@ -53065,6 +53080,10 @@ declare module BABYLON {
* Gets or sets the additional types excluded by this connection point
*/
excludedConnectionPointTypes: NodeMaterialBlockConnectionPointTypes[];
/**
* Observable triggered when this point is connected
*/
onConnectionObservable: Observable<NodeMaterialConnectionPoint>;
/**
* Gets or sets the associated variable name in the shader
*/
Expand Down Expand Up @@ -53152,6 +53171,10 @@ declare module BABYLON {
* @returns the serialized point object
*/
serialize(): any;
/**
* Release resources
*/
dispose(): void;
}
}
declare module BABYLON {
Expand Down Expand Up @@ -54808,6 +54831,37 @@ declare module BABYLON {
protected _buildBlock(state: NodeMaterialBuildState): this;
}
}
declare module BABYLON {
/**
* Block used to test if the fragment shader is front facing
*/
export class FrontFacingBlock extends NodeMaterialBlock {
/**
* Creates a new FrontFacingBlock
* @param name defines the block name
*/
constructor(name: string);
/**
* Gets the current class name
* @returns the class name
*/
getClassName(): string;
/**
* Gets the world normal component
*/
readonly worldNormal: NodeMaterialConnectionPoint;
/**
* Gets the view direction input component
*/
readonly viewDirection: NodeMaterialConnectionPoint;
/**
* Gets the output component
*/
readonly output: NodeMaterialConnectionPoint;
autoConfigure(material: NodeMaterial): void;
protected _buildBlock(state: NodeMaterialBuildState): this;
}
}
declare module BABYLON {
/**
* Effect Render Options
Expand Down
54 changes: 54 additions & 0 deletions dist/preview release/babylon.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35597,6 +35597,10 @@ declare module BABYLON {
* @see http://doc.babylonjs.com/how_to/playing_sounds_and_music
*/
audioListenerPositionProvider: Nullable<() => Vector3>;
/**
* Gets or sets a refresh rate when using 3D audio positioning
*/
audioPositioningRefreshRate: number;
}
/**
* Defines the sound scene component responsible to manage any sounds
Expand All @@ -35623,6 +35627,10 @@ declare module BABYLON {
* Please use the according Switch methods to change output.
*/
readonly headphone: boolean;
/**
* Gets or sets a refresh rate when using 3D audio positioning
*/
audioPositioningRefreshRate: number;
private _audioListenerPositionProvider;
/**
* Gets the current audio listener position provider
Expand Down Expand Up @@ -35682,6 +35690,9 @@ declare module BABYLON {
* Switch audio to normal speakers.
*/
switchAudioModeForNormalSpeakers(): void;
private _cachedCameraDirection;
private _cachedCameraPosition;
private _lastCheck;
private _afterRender;
}
}
Expand Down Expand Up @@ -53752,6 +53763,10 @@ declare module BABYLON {
serialize(): any;
/** @hidden */
_deserialize(serializationObject: any, scene: Scene, rootUrl: string): void;
/**
* Release resources
*/
dispose(): void;
}
}
declare module BABYLON {
Expand Down Expand Up @@ -53914,6 +53929,10 @@ declare module BABYLON {
* Gets or sets the additional types excluded by this connection point
*/
excludedConnectionPointTypes: NodeMaterialBlockConnectionPointTypes[];
/**
* Observable triggered when this point is connected
*/
onConnectionObservable: Observable<NodeMaterialConnectionPoint>;
/**
* Gets or sets the associated variable name in the shader
*/
Expand Down Expand Up @@ -54002,6 +54021,10 @@ declare module BABYLON {
* @returns the serialized point object
*/
serialize(): any;
/**
* Release resources
*/
dispose(): void;
}
}
declare module BABYLON {
Expand Down Expand Up @@ -55666,6 +55689,37 @@ declare module BABYLON {
protected _buildBlock(state: NodeMaterialBuildState): this;
}
}
declare module BABYLON {
/**
* Block used to test if the fragment shader is front facing
*/
export class FrontFacingBlock extends NodeMaterialBlock {
/**
* Creates a new FrontFacingBlock
* @param name defines the block name
*/
constructor(name: string);
/**
* Gets the current class name
* @returns the class name
*/
getClassName(): string;
/**
* Gets the world normal component
*/
readonly worldNormal: NodeMaterialConnectionPoint;
/**
* Gets the view direction input component
*/
readonly viewDirection: NodeMaterialConnectionPoint;
/**
* Gets the output component
*/
readonly output: NodeMaterialConnectionPoint;
autoConfigure(material: NodeMaterial): void;
protected _buildBlock(state: NodeMaterialBuildState): this;
}
}
declare module BABYLON {
/**
* Effect Render Options
Expand Down
2 changes: 1 addition & 1 deletion dist/preview release/babylon.js

Large diffs are not rendered by default.

303 changes: 249 additions & 54 deletions dist/preview release/babylon.max.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/preview release/babylon.max.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit c6ec4c4

Please sign in to comment.