API

Class MRDLBackplateMaterial

Class used to render backplate material with MRDL

Hierarchy (View Summary)

Index
absoluteSizes: boolean = false

Gets or sets whether to use absolute sizes when calculating effects on the backplate. Since desktop and VR/AR have different relative sizes, it's usually best to keep this false.

baseColor: any = ...

Gets or sets the base color of the backplate.

bottomLeftGradientColor: any = ...

Gets or sets the bottom left gradient color effect on the backplate.

bottomRightGradientColor: any = ...

Gets or sets the bottom right gradient color effect on the backplate.

edgeLineGradientBlend: number = 0.5

Gets or sets the edge width of the backplate.

edgePower: number = 1

Gets or sets the edge width of the backplate.

edgeWidth: number = 0.5

Gets or sets the edge width of the backplate.

fadeOut: number = 1

Gets or sets the opacity of the backplate (0.0 - 1.0).

gradientColor: any = ...

Gets or sets the gradient color effect on the backplate.

highlightColor: any = ...

Gets or sets the color of the highlights on the backplate line.

highlightWidth: number = 0

Gets or sets the width of the highlights on the backplate line.

iridescenceEdgeIntensity: number = 1

Gets or sets the intensity of the iridescence effect on the backplate edges.

iridescenceIntensity: number = 0.45

Gets or sets the intensity of the iridescence effect.

iridescenceTint: any = ...

Gets or sets the Tint of the iridescence effect on the backplate.

lineColor: any = ...

Gets or sets the line color of the backplate.

lineWidth: number = 0.003

Gets or sets the line width of the backplate.

radius: number = 0.3

Gets or sets the corner radius on the backplate. If this value is changed, update the lineWidth to match.

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.

topLeftGradientColor: any = ...

Gets or sets the top left gradient color effect on the backplate.

topRightGradientColor: any = ...

Gets or sets the top right gradient color effect on the backplate.

IRIDESCENT_MAP_TEXTURE_URL: string = "https://assets.babylonjs.com/core/MRTK/MRDL/mrtk-mrdl-backplate-iridescence.png"

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