babylonjs-gui 5.26.1 → 5.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/babylon.gui.d.ts +550 -1
- package/babylon.gui.js +8197 -5967
- package/babylon.gui.js.map +1 -1
- package/babylon.gui.min.js +1 -1
- package/babylon.gui.min.js.map +1 -1
- package/babylon.gui.module.d.ts +1226 -66
- package/package.json +2 -2
package/babylon.gui.d.ts
CHANGED
|
@@ -2309,7 +2309,7 @@ declare module BABYLON.GUI {
|
|
|
2309
2309
|
/** Gets or sets the text displayed when the control is empty */
|
|
2310
2310
|
get placeholderText(): string;
|
|
2311
2311
|
set placeholderText(value: string);
|
|
2312
|
-
/** Gets or sets the dead key
|
|
2312
|
+
/** Gets or sets the dead key. 0 to disable. */
|
|
2313
2313
|
get deadKey(): boolean;
|
|
2314
2314
|
set deadKey(flag: boolean);
|
|
2315
2315
|
/** Gets or sets the highlight text */
|
|
@@ -5036,6 +5036,215 @@ declare module BABYLON.GUI {
|
|
|
5036
5036
|
}
|
|
5037
5037
|
|
|
5038
5038
|
|
|
5039
|
+
/**
|
|
5040
|
+
* Class used to create the mrtkv3 button
|
|
5041
|
+
*/
|
|
5042
|
+
export class TouchHolographicButton extends TouchButton3D {
|
|
5043
|
+
/**
|
|
5044
|
+
* Base Url for the frontplate model.
|
|
5045
|
+
*/
|
|
5046
|
+
static MRTK_ASSET_BASE_URL: string;
|
|
5047
|
+
/**
|
|
5048
|
+
* File name for the frontplate model.
|
|
5049
|
+
*/
|
|
5050
|
+
static FRONTPLATE_MODEL_FILENAME: string;
|
|
5051
|
+
/**
|
|
5052
|
+
* File name for the backplate model.
|
|
5053
|
+
*/
|
|
5054
|
+
static BACKPLATE_MODEL_FILENAME: string;
|
|
5055
|
+
/**
|
|
5056
|
+
* File name for the backglow model.
|
|
5057
|
+
*/
|
|
5058
|
+
static BACKGLOW_MODEL_FILENAME: string;
|
|
5059
|
+
/**
|
|
5060
|
+
* File name for the innerquad model.
|
|
5061
|
+
*/
|
|
5062
|
+
static INNERQUAD_MODEL_FILENAME: string;
|
|
5063
|
+
/**
|
|
5064
|
+
* Gets or sets the horizontal scaling for the button.
|
|
5065
|
+
*/
|
|
5066
|
+
width: number;
|
|
5067
|
+
/**
|
|
5068
|
+
* Gets or sets the vertical scaling for the button.
|
|
5069
|
+
*/
|
|
5070
|
+
height: number;
|
|
5071
|
+
/**
|
|
5072
|
+
* Gets or sets the bevel radius for the button.
|
|
5073
|
+
*/
|
|
5074
|
+
radius: number;
|
|
5075
|
+
/**
|
|
5076
|
+
* Gets or sets the font size of the button text in pixels.
|
|
5077
|
+
* This is only adjustable for a button with width to height ratio greater than 1.
|
|
5078
|
+
*/
|
|
5079
|
+
textSizeInPixels: number;
|
|
5080
|
+
/**
|
|
5081
|
+
* Gets or sets the size of the button image in pixels.
|
|
5082
|
+
* This is only adjustable for a button with width to height ratio greater than 1.
|
|
5083
|
+
*/
|
|
5084
|
+
imageSizeInPixels: number;
|
|
5085
|
+
/**
|
|
5086
|
+
* Gets or sets the color of the button plate.
|
|
5087
|
+
*/
|
|
5088
|
+
plateMaterialColor: BABYLON.Color3;
|
|
5089
|
+
/**
|
|
5090
|
+
* Gets or sets the depth of the button's front plate.
|
|
5091
|
+
* This variable determines the z scaling and z position for some of the button's meshes.
|
|
5092
|
+
*/
|
|
5093
|
+
frontPlateDepth: number;
|
|
5094
|
+
/**
|
|
5095
|
+
* Gets or sets the depth of the button's back plate.
|
|
5096
|
+
* This variable determines the z scaling and z position for some of the button's meshes.
|
|
5097
|
+
*/
|
|
5098
|
+
backPlateDepth: number;
|
|
5099
|
+
/**
|
|
5100
|
+
* Gets or sets the offset value for button's back glow.
|
|
5101
|
+
* This variable determines the x, y scaling of the button's meshes.
|
|
5102
|
+
*/
|
|
5103
|
+
backGlowOffset: number;
|
|
5104
|
+
/**
|
|
5105
|
+
* Gets or sets the value that determines the z scaling and z position for the innerQuad and BackGlow meshes.
|
|
5106
|
+
*/
|
|
5107
|
+
flatPlaneDepth: number;
|
|
5108
|
+
/**
|
|
5109
|
+
* Gets or sets the radius for FrontMaterial and innerQuadMaterial.
|
|
5110
|
+
*/
|
|
5111
|
+
innerQuadRadius: number;
|
|
5112
|
+
/**
|
|
5113
|
+
* Gets or sets the color for innerQuadMaterial.
|
|
5114
|
+
*/
|
|
5115
|
+
innerQuadColor: BABYLON.Color4;
|
|
5116
|
+
/**
|
|
5117
|
+
* Gets or sets the color for innerQuadMaterial for when it is toggled.
|
|
5118
|
+
*/
|
|
5119
|
+
innerQuadToggledColor: BABYLON.Color4;
|
|
5120
|
+
/**
|
|
5121
|
+
* Gets or sets the color for innerQuadMaterial for when it is hovered.
|
|
5122
|
+
*/
|
|
5123
|
+
innerQuadHoverColor: BABYLON.Color4;
|
|
5124
|
+
/**
|
|
5125
|
+
* Gets or sets the color for innerQuadMaterial for when it is toggled and hovered.
|
|
5126
|
+
*/
|
|
5127
|
+
innerQuadToggledHoverColor: BABYLON.Color4;
|
|
5128
|
+
private _backPlate;
|
|
5129
|
+
private _textPlate;
|
|
5130
|
+
private _frontPlate;
|
|
5131
|
+
private _backGlow;
|
|
5132
|
+
private _innerQuad;
|
|
5133
|
+
private _collisionPlate;
|
|
5134
|
+
private _frontPlateCollisionMesh;
|
|
5135
|
+
private _isBackplateVisible;
|
|
5136
|
+
private _text;
|
|
5137
|
+
private _subtext;
|
|
5138
|
+
private _imageUrl;
|
|
5139
|
+
private _shareMaterials;
|
|
5140
|
+
private _frontMaterial;
|
|
5141
|
+
private _backMaterial;
|
|
5142
|
+
private _backGlowMaterial;
|
|
5143
|
+
private _innerQuadMaterial;
|
|
5144
|
+
private _plateMaterial;
|
|
5145
|
+
private _pickedPointObserver;
|
|
5146
|
+
private _pointerClickObserver;
|
|
5147
|
+
private _pointerEnterObserver;
|
|
5148
|
+
private _pointerOutObserver;
|
|
5149
|
+
private _toggleObserver;
|
|
5150
|
+
private _tooltipFade;
|
|
5151
|
+
private _tooltipTextBlock;
|
|
5152
|
+
private _tooltipTexture;
|
|
5153
|
+
private _tooltipMesh;
|
|
5154
|
+
private _tooltipHoverObserver;
|
|
5155
|
+
private _tooltipOutObserver;
|
|
5156
|
+
private _disposeTooltip;
|
|
5157
|
+
/**
|
|
5158
|
+
* Rendering ground id of all the mesh in the button
|
|
5159
|
+
*/
|
|
5160
|
+
set renderingGroupId(id: number);
|
|
5161
|
+
get renderingGroupId(): number;
|
|
5162
|
+
/**
|
|
5163
|
+
* Gets the mesh used to render this control
|
|
5164
|
+
*/
|
|
5165
|
+
get mesh(): BABYLON.Nullable<BABYLON.AbstractMesh>;
|
|
5166
|
+
/**
|
|
5167
|
+
* Text to be displayed on the tooltip shown when hovering on the button. When set to null tooltip is disabled. (Default: null)
|
|
5168
|
+
* Set this property after adding the button to the GUI3DManager
|
|
5169
|
+
*/
|
|
5170
|
+
set tooltipText(text: BABYLON.Nullable<string>);
|
|
5171
|
+
get tooltipText(): BABYLON.Nullable<string>;
|
|
5172
|
+
/**
|
|
5173
|
+
* Gets or sets text for the button
|
|
5174
|
+
*/
|
|
5175
|
+
get text(): string;
|
|
5176
|
+
set text(value: string);
|
|
5177
|
+
/**
|
|
5178
|
+
* Gets or sets subtext for a button with larger width
|
|
5179
|
+
*/
|
|
5180
|
+
get subtext(): string;
|
|
5181
|
+
set subtext(value: string);
|
|
5182
|
+
/**
|
|
5183
|
+
* Gets or sets the image url for the button
|
|
5184
|
+
*/
|
|
5185
|
+
get imageUrl(): string;
|
|
5186
|
+
set imageUrl(value: string);
|
|
5187
|
+
/**
|
|
5188
|
+
* Gets the back material used by this button
|
|
5189
|
+
*/
|
|
5190
|
+
get backMaterial(): MRDLBackplateMaterial;
|
|
5191
|
+
/**
|
|
5192
|
+
* Gets the front material used by this button
|
|
5193
|
+
*/
|
|
5194
|
+
get frontMaterial(): MRDLFrontplateMaterial;
|
|
5195
|
+
/**
|
|
5196
|
+
* Gets the back glow material used by this button
|
|
5197
|
+
*/
|
|
5198
|
+
get backGlowMaterial(): MRDLBackglowMaterial;
|
|
5199
|
+
/**
|
|
5200
|
+
* Gets the inner quad material used by this button
|
|
5201
|
+
*/
|
|
5202
|
+
get innerQuadMaterial(): MRDLInnerquadMaterial;
|
|
5203
|
+
/**
|
|
5204
|
+
* Gets the plate material used by this button
|
|
5205
|
+
*/
|
|
5206
|
+
get plateMaterial(): BABYLON.StandardMaterial;
|
|
5207
|
+
/**
|
|
5208
|
+
* Gets a boolean indicating if this button shares its material with other V3 Buttons
|
|
5209
|
+
*/
|
|
5210
|
+
get shareMaterials(): boolean;
|
|
5211
|
+
/**
|
|
5212
|
+
* Sets whether the backplate is visible or hidden. Hiding the backplate is not recommended without some sort of replacement
|
|
5213
|
+
*/
|
|
5214
|
+
set isBackplateVisible(isVisible: boolean);
|
|
5215
|
+
/**
|
|
5216
|
+
* Creates a new button
|
|
5217
|
+
* @param name defines the control name
|
|
5218
|
+
* @param shareMaterials
|
|
5219
|
+
*/
|
|
5220
|
+
constructor(name?: string, shareMaterials?: boolean);
|
|
5221
|
+
protected _getTypeName(): string;
|
|
5222
|
+
private _rebuildContent;
|
|
5223
|
+
private _getAspectRatio;
|
|
5224
|
+
private _alignContentVertically;
|
|
5225
|
+
private _alignContentHorizontally;
|
|
5226
|
+
protected _createNode(scene: BABYLON.Scene): BABYLON.TransformNode;
|
|
5227
|
+
private _createBackPlate;
|
|
5228
|
+
private _createFrontPlate;
|
|
5229
|
+
private _createInnerQuad;
|
|
5230
|
+
private _createBackGlow;
|
|
5231
|
+
protected _applyFacade(facadeTexture: AdvancedDynamicTexture): void;
|
|
5232
|
+
private _performClickAnimation;
|
|
5233
|
+
private _performEnterExitAnimation;
|
|
5234
|
+
private _createBackMaterial;
|
|
5235
|
+
private _createFrontMaterial;
|
|
5236
|
+
private _createBackGlowMaterial;
|
|
5237
|
+
private _createInnerQuadMaterial;
|
|
5238
|
+
private _createPlateMaterial;
|
|
5239
|
+
protected _onToggle(newState: boolean): void;
|
|
5240
|
+
protected _affectMaterial(mesh: BABYLON.Mesh): void;
|
|
5241
|
+
/**
|
|
5242
|
+
* Releases all associated resources
|
|
5243
|
+
*/
|
|
5244
|
+
dispose(): void;
|
|
5245
|
+
}
|
|
5246
|
+
|
|
5247
|
+
|
|
5039
5248
|
/**
|
|
5040
5249
|
* NearMenu that displays buttons and follows the camera
|
|
5041
5250
|
* @since 5.0.0
|
|
@@ -6302,6 +6511,83 @@ declare module BABYLON.GUI {
|
|
|
6302
6511
|
|
|
6303
6512
|
|
|
6304
6513
|
|
|
6514
|
+
export class MRDLBackglowMaterial extends BABYLON.PushMaterial {
|
|
6515
|
+
/**
|
|
6516
|
+
* Gets or sets the bevel radius on the backglow. If this value is changed, update the lineWidth to match.
|
|
6517
|
+
*/
|
|
6518
|
+
bevelRadius: number;
|
|
6519
|
+
/**
|
|
6520
|
+
* Gets or sets the line width of the backglow.
|
|
6521
|
+
*/
|
|
6522
|
+
lineWidth: number;
|
|
6523
|
+
/**
|
|
6524
|
+
* Gets or sets whether to use absolute sizes when calculating effects on the backglow.
|
|
6525
|
+
* Since desktop and VR/AR have different relative sizes, it's usually best to keep this false.
|
|
6526
|
+
*/
|
|
6527
|
+
absoluteSizes: boolean;
|
|
6528
|
+
/**
|
|
6529
|
+
* Gets or sets the tuning motion of the backglow.
|
|
6530
|
+
*/
|
|
6531
|
+
tuningMotion: number;
|
|
6532
|
+
/**
|
|
6533
|
+
* Gets or sets the motion of the backglow.
|
|
6534
|
+
*/
|
|
6535
|
+
motion: number;
|
|
6536
|
+
/**
|
|
6537
|
+
* Gets or sets the maximum intensity of the backglow.
|
|
6538
|
+
*/
|
|
6539
|
+
maxIntensity: number;
|
|
6540
|
+
/**
|
|
6541
|
+
* Gets or sets the fade-in exponent of the intensity of the backglow.
|
|
6542
|
+
*/
|
|
6543
|
+
intensityFadeInExponent: number;
|
|
6544
|
+
/**
|
|
6545
|
+
* Gets or sets the start of the outer fuzz effect on the backglow.
|
|
6546
|
+
*/
|
|
6547
|
+
outerFuzzStart: number;
|
|
6548
|
+
/**
|
|
6549
|
+
* Gets or sets the end of the outer fuzz effect on the backglow.
|
|
6550
|
+
*/
|
|
6551
|
+
outerFuzzEnd: number;
|
|
6552
|
+
/**
|
|
6553
|
+
* Gets or sets the color of the backglow.
|
|
6554
|
+
*/
|
|
6555
|
+
color: BABYLON.Color4;
|
|
6556
|
+
/**
|
|
6557
|
+
* Gets or sets the inner color of the backglow.
|
|
6558
|
+
*/
|
|
6559
|
+
innerColor: BABYLON.Color4;
|
|
6560
|
+
/**
|
|
6561
|
+
* Gets or sets the blend exponent of the backglow.
|
|
6562
|
+
*/
|
|
6563
|
+
blendExponent: number;
|
|
6564
|
+
/**
|
|
6565
|
+
* Gets or sets the falloff of the backglow.
|
|
6566
|
+
*/
|
|
6567
|
+
falloff: number;
|
|
6568
|
+
/**
|
|
6569
|
+
* Gets or sets the bias of the backglow.
|
|
6570
|
+
*/
|
|
6571
|
+
bias: number;
|
|
6572
|
+
constructor(name: string, scene: BABYLON.Scene);
|
|
6573
|
+
needAlphaBlending(): boolean;
|
|
6574
|
+
needAlphaTesting(): boolean;
|
|
6575
|
+
getAlphaTestTexture(): BABYLON.Nullable<BABYLON.BaseTexture>;
|
|
6576
|
+
isReadyForSubMesh(mesh: BABYLON.AbstractMesh, subMesh: BABYLON.SubMesh): boolean;
|
|
6577
|
+
bindForSubMesh(world: BABYLON.Matrix, mesh: BABYLON.Mesh, subMesh: BABYLON.SubMesh): void;
|
|
6578
|
+
/**
|
|
6579
|
+
* Get the list of animatables in the material.
|
|
6580
|
+
* @returns the list of animatables object used in the material
|
|
6581
|
+
*/
|
|
6582
|
+
getAnimatables(): BABYLON.IAnimatable[];
|
|
6583
|
+
dispose(forceDisposeEffect?: boolean): void;
|
|
6584
|
+
clone(name: string): MRDLBackglowMaterial;
|
|
6585
|
+
serialize(): unknown;
|
|
6586
|
+
getClassName(): string;
|
|
6587
|
+
static Parse(source: any, scene: BABYLON.Scene, rootUrl: string): MRDLBackglowMaterial;
|
|
6588
|
+
}
|
|
6589
|
+
|
|
6590
|
+
|
|
6305
6591
|
/**
|
|
6306
6592
|
* Class used to render backplate material with MRDL
|
|
6307
6593
|
*/
|
|
@@ -6439,6 +6725,227 @@ declare module BABYLON.GUI {
|
|
|
6439
6725
|
}
|
|
6440
6726
|
|
|
6441
6727
|
|
|
6728
|
+
export class MRDLFrontplateMaterial extends BABYLON.PushMaterial {
|
|
6729
|
+
/**
|
|
6730
|
+
* Gets or sets the corner radius on the frontplate. If this value is changed, update the lineWidth to match.
|
|
6731
|
+
*/
|
|
6732
|
+
radius: number;
|
|
6733
|
+
/**
|
|
6734
|
+
* Gets or sets the line width of the frontplate.
|
|
6735
|
+
*/
|
|
6736
|
+
lineWidth: number;
|
|
6737
|
+
/**
|
|
6738
|
+
* Gets or sets whether the scale is relative to the frontplate height.
|
|
6739
|
+
*/
|
|
6740
|
+
relativeToHeight: boolean;
|
|
6741
|
+
/** @hidden */
|
|
6742
|
+
_filterWidth: number;
|
|
6743
|
+
/**
|
|
6744
|
+
* Gets or sets the edge color of the frontplate.
|
|
6745
|
+
*/
|
|
6746
|
+
edgeColor: BABYLON.Color4;
|
|
6747
|
+
/**
|
|
6748
|
+
* Gets or sets whether to enable blob effects on the frontplate.
|
|
6749
|
+
*/
|
|
6750
|
+
blobEnable: boolean;
|
|
6751
|
+
/**
|
|
6752
|
+
* Gets or sets the blob position on the frontplate.
|
|
6753
|
+
*/
|
|
6754
|
+
blobPosition: BABYLON.Vector3;
|
|
6755
|
+
/**
|
|
6756
|
+
* Gets or sets the blob intensity of the frontplate.
|
|
6757
|
+
*/
|
|
6758
|
+
blobIntensity: number;
|
|
6759
|
+
/**
|
|
6760
|
+
* Gets or sets the blob near size of the frontplate.
|
|
6761
|
+
*/
|
|
6762
|
+
blobNearSize: number;
|
|
6763
|
+
/**
|
|
6764
|
+
* Gets or sets the blob far size of the frontplate.
|
|
6765
|
+
*/
|
|
6766
|
+
blobFarSize: number;
|
|
6767
|
+
/**
|
|
6768
|
+
* Gets or sets the blob near distance of the frontplate.
|
|
6769
|
+
*/
|
|
6770
|
+
blobNearDistance: number;
|
|
6771
|
+
/**
|
|
6772
|
+
* Gets or sets the blob far distance of the frontplate.
|
|
6773
|
+
*/
|
|
6774
|
+
blobFarDistance: number;
|
|
6775
|
+
/**
|
|
6776
|
+
* Gets or sets the blob fade length of the frontplate.
|
|
6777
|
+
*/
|
|
6778
|
+
blobFadeLength: number;
|
|
6779
|
+
/**
|
|
6780
|
+
* Gets or sets the blob inner fade of the frontplate.
|
|
6781
|
+
*/
|
|
6782
|
+
blobInnerFade: number;
|
|
6783
|
+
/**
|
|
6784
|
+
* Gets or sets the blob pulse of the frontplate.
|
|
6785
|
+
*/
|
|
6786
|
+
blobPulse: number;
|
|
6787
|
+
/**
|
|
6788
|
+
* Gets or sets the blob fade effect on the frontplate.
|
|
6789
|
+
*/
|
|
6790
|
+
blobFade: number;
|
|
6791
|
+
/**
|
|
6792
|
+
* Gets or sets the maximum size of the blob pulse on the frontplate.
|
|
6793
|
+
*/
|
|
6794
|
+
blobPulseMaxSize: number;
|
|
6795
|
+
/**
|
|
6796
|
+
* Gets or sets whether to enable extra blob effects of the frontplate.
|
|
6797
|
+
*/
|
|
6798
|
+
blobEnable2: boolean;
|
|
6799
|
+
/**
|
|
6800
|
+
* Gets or sets blob2 position of the frontplate.
|
|
6801
|
+
*/
|
|
6802
|
+
blobPosition2: BABYLON.Vector3;
|
|
6803
|
+
/**
|
|
6804
|
+
* Gets or sets the blob2 near size of the frontplate.
|
|
6805
|
+
*/
|
|
6806
|
+
blobNearSize2: number;
|
|
6807
|
+
/**
|
|
6808
|
+
* Gets or sets the blob2 inner fade of the frontplate.
|
|
6809
|
+
*/
|
|
6810
|
+
blobInnerFade2: number;
|
|
6811
|
+
/**
|
|
6812
|
+
* Gets or sets the blob2 pulse of the frontplate.
|
|
6813
|
+
*/
|
|
6814
|
+
blobPulse2: number;
|
|
6815
|
+
/**
|
|
6816
|
+
* Gets or sets the blob2 fade effect on the frontplate.
|
|
6817
|
+
*/
|
|
6818
|
+
blobFade2: number;
|
|
6819
|
+
/**
|
|
6820
|
+
* Gets or sets the gaze intensity of the frontplate.
|
|
6821
|
+
*/
|
|
6822
|
+
gazeIntensity: number;
|
|
6823
|
+
/**
|
|
6824
|
+
* Gets or sets the gaze focus of the frontplate.
|
|
6825
|
+
*/
|
|
6826
|
+
gazeFocus: number;
|
|
6827
|
+
/**
|
|
6828
|
+
* Gets or sets the selection fuzz of the frontplate.
|
|
6829
|
+
*/
|
|
6830
|
+
selectionFuzz: number;
|
|
6831
|
+
/**
|
|
6832
|
+
* Gets or sets the fade intensity of the frontplate.
|
|
6833
|
+
*/
|
|
6834
|
+
selected: number;
|
|
6835
|
+
/**
|
|
6836
|
+
* Gets or sets the selection fade intensity of the frontplate.
|
|
6837
|
+
*/
|
|
6838
|
+
selectionFade: number;
|
|
6839
|
+
/**
|
|
6840
|
+
* Gets or sets the selection fade size of the frontplate.
|
|
6841
|
+
*/
|
|
6842
|
+
selectionFadeSize: number;
|
|
6843
|
+
/**
|
|
6844
|
+
* Gets or sets the selected distance of the frontplate.
|
|
6845
|
+
*/
|
|
6846
|
+
selectedDistance: number;
|
|
6847
|
+
/**
|
|
6848
|
+
* Gets or sets the selected fade length of the frontplate.
|
|
6849
|
+
*/
|
|
6850
|
+
selectedFadeLength: number;
|
|
6851
|
+
/**
|
|
6852
|
+
* Gets or sets the proximity maximum intensity of the frontplate.
|
|
6853
|
+
*/
|
|
6854
|
+
proximityMaxIntensity: number;
|
|
6855
|
+
/**
|
|
6856
|
+
* Gets or sets the proximity far distance of the frontplate.
|
|
6857
|
+
*/
|
|
6858
|
+
proximityFarDistance: number;
|
|
6859
|
+
/**
|
|
6860
|
+
* Gets or sets the proximity near radius of the frontplate.
|
|
6861
|
+
*/
|
|
6862
|
+
proximityNearRadius: number;
|
|
6863
|
+
/**
|
|
6864
|
+
* Gets or sets the proximity anisotropy of the frontplate.
|
|
6865
|
+
*/
|
|
6866
|
+
proximityAnisotropy: number;
|
|
6867
|
+
/**
|
|
6868
|
+
* Gets or sets whether to use global left index on the frontplate.
|
|
6869
|
+
*/
|
|
6870
|
+
useGlobalLeftIndex: boolean;
|
|
6871
|
+
/**
|
|
6872
|
+
* Gets or sets whether to use global right index of the frontplate.
|
|
6873
|
+
*/
|
|
6874
|
+
useGlobalRightIndex: boolean;
|
|
6875
|
+
/**
|
|
6876
|
+
* URL pointing to the texture used to define the coloring for the BLOB.
|
|
6877
|
+
*/
|
|
6878
|
+
static BLOB_TEXTURE_URL: string;
|
|
6879
|
+
/**
|
|
6880
|
+
* Gets or sets the opacity of the frontplate (0.0 - 1.0).
|
|
6881
|
+
*/
|
|
6882
|
+
fadeOut: number;
|
|
6883
|
+
private _blobTexture;
|
|
6884
|
+
constructor(name: string, scene: BABYLON.Scene);
|
|
6885
|
+
needAlphaBlending(): boolean;
|
|
6886
|
+
needAlphaTesting(): boolean;
|
|
6887
|
+
getAlphaTestTexture(): BABYLON.Nullable<BABYLON.BaseTexture>;
|
|
6888
|
+
isReadyForSubMesh(mesh: BABYLON.AbstractMesh, subMesh: BABYLON.SubMesh): boolean;
|
|
6889
|
+
bindForSubMesh(world: BABYLON.Matrix, mesh: BABYLON.Mesh, subMesh: BABYLON.SubMesh): void;
|
|
6890
|
+
/**
|
|
6891
|
+
* Get the list of animatables in the material.
|
|
6892
|
+
* @returns the list of animatables object used in the material
|
|
6893
|
+
*/
|
|
6894
|
+
getAnimatables(): BABYLON.IAnimatable[];
|
|
6895
|
+
dispose(forceDisposeEffect?: boolean): void;
|
|
6896
|
+
clone(name: string): MRDLFrontplateMaterial;
|
|
6897
|
+
serialize(): unknown;
|
|
6898
|
+
getClassName(): string;
|
|
6899
|
+
static Parse(source: any, scene: BABYLON.Scene, rootUrl: string): MRDLFrontplateMaterial;
|
|
6900
|
+
}
|
|
6901
|
+
|
|
6902
|
+
|
|
6903
|
+
export class MRDLInnerquadMaterial extends BABYLON.PushMaterial {
|
|
6904
|
+
/**
|
|
6905
|
+
* Gets or sets the color of the innerquad.
|
|
6906
|
+
*/
|
|
6907
|
+
color: BABYLON.Color4;
|
|
6908
|
+
/**
|
|
6909
|
+
* Gets or sets the corner radius on the innerquad. If this value is changed, update the lineWidth to match.
|
|
6910
|
+
*/
|
|
6911
|
+
radius: number;
|
|
6912
|
+
/**
|
|
6913
|
+
* Gets or sets whether the radius of the innerquad should be fixed.
|
|
6914
|
+
*/
|
|
6915
|
+
fixedRadius: boolean;
|
|
6916
|
+
/** @hidden */
|
|
6917
|
+
_filterWidth: number;
|
|
6918
|
+
/**
|
|
6919
|
+
* Gets or sets the glow fraction of the innerquad.
|
|
6920
|
+
*/
|
|
6921
|
+
glowFraction: number;
|
|
6922
|
+
/**
|
|
6923
|
+
* Gets or sets the maximum glow intensity of the innerquad.
|
|
6924
|
+
*/
|
|
6925
|
+
glowMax: number;
|
|
6926
|
+
/**
|
|
6927
|
+
* Gets or sets the glow falloff effect of the innerquad.
|
|
6928
|
+
*/
|
|
6929
|
+
glowFalloff: number;
|
|
6930
|
+
constructor(name: string, scene: BABYLON.Scene);
|
|
6931
|
+
needAlphaBlending(): boolean;
|
|
6932
|
+
needAlphaTesting(): boolean;
|
|
6933
|
+
getAlphaTestTexture(): BABYLON.Nullable<BABYLON.BaseTexture>;
|
|
6934
|
+
isReadyForSubMesh(mesh: BABYLON.AbstractMesh, subMesh: BABYLON.SubMesh): boolean;
|
|
6935
|
+
bindForSubMesh(world: BABYLON.Matrix, mesh: BABYLON.Mesh, subMesh: BABYLON.SubMesh): void;
|
|
6936
|
+
/**
|
|
6937
|
+
* Get the list of animatables in the material.
|
|
6938
|
+
* @returns the list of animatables object used in the material
|
|
6939
|
+
*/
|
|
6940
|
+
getAnimatables(): BABYLON.IAnimatable[];
|
|
6941
|
+
dispose(forceDisposeEffect?: boolean): void;
|
|
6942
|
+
clone(name: string): MRDLInnerquadMaterial;
|
|
6943
|
+
serialize(): unknown;
|
|
6944
|
+
getClassName(): string;
|
|
6945
|
+
static Parse(source: any, scene: BABYLON.Scene, rootUrl: string): MRDLInnerquadMaterial;
|
|
6946
|
+
}
|
|
6947
|
+
|
|
6948
|
+
|
|
6442
6949
|
/**
|
|
6443
6950
|
* Class used to render Slider Bar material with MRDL
|
|
6444
6951
|
*/
|
|
@@ -7083,6 +7590,20 @@ declare module BABYLON.GUI {
|
|
|
7083
7590
|
}
|
|
7084
7591
|
|
|
7085
7592
|
|
|
7593
|
+
/** @internal */
|
|
7594
|
+
export var mrdlBackglowPixelShader: {
|
|
7595
|
+
name: string;
|
|
7596
|
+
shader: string;
|
|
7597
|
+
};
|
|
7598
|
+
|
|
7599
|
+
|
|
7600
|
+
/** @internal */
|
|
7601
|
+
export var mrdlBackglowVertexShader: {
|
|
7602
|
+
name: string;
|
|
7603
|
+
shader: string;
|
|
7604
|
+
};
|
|
7605
|
+
|
|
7606
|
+
|
|
7086
7607
|
/** @internal */
|
|
7087
7608
|
export var mrdlBackplatePixelShader: {
|
|
7088
7609
|
name: string;
|
|
@@ -7097,6 +7618,34 @@ declare module BABYLON.GUI {
|
|
|
7097
7618
|
};
|
|
7098
7619
|
|
|
7099
7620
|
|
|
7621
|
+
/** @internal */
|
|
7622
|
+
export var mrdlFrontplatePixelShader: {
|
|
7623
|
+
name: string;
|
|
7624
|
+
shader: string;
|
|
7625
|
+
};
|
|
7626
|
+
|
|
7627
|
+
|
|
7628
|
+
/** @internal */
|
|
7629
|
+
export var mrdlFrontplateVertexShader: {
|
|
7630
|
+
name: string;
|
|
7631
|
+
shader: string;
|
|
7632
|
+
};
|
|
7633
|
+
|
|
7634
|
+
|
|
7635
|
+
/** @internal */
|
|
7636
|
+
export var mrdlInnerquadPixelShader: {
|
|
7637
|
+
name: string;
|
|
7638
|
+
shader: string;
|
|
7639
|
+
};
|
|
7640
|
+
|
|
7641
|
+
|
|
7642
|
+
/** @internal */
|
|
7643
|
+
export var mrdlInnerquadVertexShader: {
|
|
7644
|
+
name: string;
|
|
7645
|
+
shader: string;
|
|
7646
|
+
};
|
|
7647
|
+
|
|
7648
|
+
|
|
7100
7649
|
/** @internal */
|
|
7101
7650
|
export var mrdlSliderBarPixelShader: {
|
|
7102
7651
|
name: string;
|