API

Class MRDLSliderBarMaterial

Class used to render Slider Bar material with MRDL

Hierarchy (View Summary)

Index
albedo: any = ...

Gets or sets the base albedo.

bevelBack: number = 0

Gets or sets the Bevel Back on the slider bar.

bevelBackStretch: number = 0

Gets or sets the Bevel Back Stretch on the slider bar.

bevelFront: number = 0.6

Gets or sets the Bevel Front on the slider bar.

bevelFrontStretch: number = 0.077

Gets or sets the Bevel Front Stretch on the slider bar.

blobFade: number = 1

Gets or sets the opacity of the hover glow effect corresponding to the left pointer (0.0 - 1.0). Default is 0.

blobFade2: number = 1

Gets or sets the opacity of the hover glow effect corresponding to the right pointer (0.0 - 1.0). Default is 1.

blobFadeLength: number = 0.576

Gets or sets the length of the hover glow effect fade.

blobFarDistance: number = 0.08

Gets or sets the distance considered "far" from the mesh, which controls the size of the hover glow effect (see blobFarSize).

blobFarSize: number = 0.03

Gets or sets the far size of the hover glow effect.

blobIntensity: number = 0.5

Gets or sets the intensity of the hover glow effect.

blobNearDistance: number = 0

Gets or sets the distance considered "near" to the mesh, which controls the size of the hover glow effect (see blobNearSize).

blobNearSize: number = 0.01

Gets or sets the near size of the hover glow effect.

blobNearSize2: number = 0.01

Gets or sets the size of the hover glow effect when the right pointer is considered "near" to the mesh (see blobNearDistance).

blobPosition: any = ...

Gets or sets the position of the hover glow effect.

blobPosition2: any = ...

Gets or sets the position of the hover glow effect.

blobPulse: number = 0

Gets or sets the progress of the hover glow effect selection animation corresponding to the left pointer (0.0 - 1.0).

blobPulse2: number = 0

Gets or sets the progress of the hover glow effect selection animation corresponding to the right pointer (0.0 - 1.0).

blobTexture: any = ...

Gets or sets the texture of the hover glow effect.

bulgeEnabled: boolean = false

Gets or sets whether Bulge is enabled. Default is false.

bulgeHeight: number = -0.323

Gets or sets the Bulge Height.

bulgeRadius: number = 0.73

Gets or sets the Bulge Radius.

clipFade: number = 0.01

Gets or sets the finger occlusion clip fade value.

decalFrontOnly: boolean = true

Gets or sets decalFrontOnly Default is true

decalScaleXY: any = ...

Gets or sets the Decal Scle for XY.

edgeReflect: number = 0.09

Gets or sets the edge reflect value.

frontReflect: number = 0

Gets or sets the front reflect value.

fuzz: number = 0.5

Gets or sets the finger occlusion fuzz value.

groundColor: any = ...

Gets or sets the ground color.

horizonColor: any = ...

Gets or sets the horizon color.

horizonPower: number = 1

Gets or sets the horizon power value.

hueShift: number = 0

Gets or sets the hue shift value.

indirectDiffuse: number = 0.658

Gets or sets the Indirect Diffuse.

iridescenceIntensity: number = 0

Gets or sets the intensity of the iridescence effect.

leftGradientColor: any = ...

Gets or sets the left gradient color.

leftIndexMiddlePosition: any = ...

Gets or sets the finger position for left index middle position.

leftIndexPosition: any = ...

Gets or sets the finger position for left index.

minFuzz: number = 0.001

Gets or sets the minimum finger occlusion fuzz value.

power: number = 8.13

Gets or sets the power value.

radius: number = 0.6

Gets or sets the corner Radius on the slider bar.

radiusBottomLeft: number = 1.0

Gets or sets the top left Radii Multiplier.

radiusBottomRight: number = 1.0

Gets or sets the top left Radii Multiplier.

radiusTopLeft: number = 1.0

Gets or sets the top left Radii Multiplier.

radiusTopRight: number = 1.0

Gets or sets the top left Radii Multiplier.

reflection: number = 0.749

Gets or sets the reflection value.

rightGradientColor: any = ...

Gets or sets the right gradient color.

rightIndexMiddlePosition: any = ...

Gets or sets the finger position for right index middle position.

rightIndexPosition: any = ...

Gets or sets the finger position for right index.

rimHueShift: number = 0

Gets or sets the Rim Light hue shift value.

rimIntensity: number = 0.287

Gets or sets the Rim Light intensity.

rimSaturationShift: number = 0

Gets or sets the Rim Light saturation shift value.

rimValueShift: number = -1

Gets or sets the Rim Light value shift.

saturationShift: number = 0

Gets or sets the saturation shift value.

sharpness: number = 0

Gets or sets the Sharpness value.

shininess: number = 10

Gets or sets the Shininess value.

skyColor: any = ...

Gets or sets the sky color.

specular: number = 0

Gets or sets the Specular value.

subsurface: number = 0

Gets or sets the Subsurface value.

sunIntensity: number = 1.102

Gets or sets the Sun Intensity.

sunPhi: number = 0.526

Gets or sets the Sun Phi.

sunTheta: number = 0.76

Gets or sets the Sun Theta.

valueShift: number = 0

Gets or sets the value shift.

width: number = 0.02

Gets or sets the finger occlusion width value.

BLUE_GRADIENT_TEXTURE_URL: string = "https://assets.babylonjs.com/core/MRTK/MRDL/mrtk-mrdl-blue-gradient.png"

URL pointing to the texture used to define the coloring for the Iridescent Map effect.