Class FluentBackplateMaterial
Hierarchy (View Summary)
- WebXRSpatialLayerType
- FluentBackplateMaterial
Index
Constructors
Properties
Methods
Constructors
constructor
-
Parameters
- name: string
Optionalscene: any
Returns FluentBackplateMaterial
Properties
absolute Sizes
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.
base Color
Gets or sets the base color of the backplate.
blob Fade
Gets or sets the opacity of the fluent hover glow effect corresponding to the left pointer (0.0 - 1.0). Default is 0.
blob Fade2
Gets or sets the opacity of the fluent hover glow effect corresponding to the right pointer (0.0 - 1.0). Default is 0.
blob Fade Length
Gets or sets the length of the fluent hover glow effect fade.
blob Far Distance
Gets or sets the distance considered "far" from the backplate, which controls the size of the fluent hover glow effect (see blobFarSize).
blob Far Size
Gets or sets the far size of the fluent hover glow effect.
blob Intensity
Gets or sets the intensity of the fluent hover glow effect.
blob Near Distance
Gets or sets the distance considered "near" to the backplate, which controls the size of the fluent hover glow effect (see blobNearSize).
blob Near Size
Gets or sets the size of the fluent hover glow effect when the left pointer is considered "near" to the backplate (see blobNearDistance).
blob Near Size2
Gets or sets the size of the fluent hover glow effect when the right pointer is considered "near" to the backplate (see blobNearDistance).
blob Pulse
Gets or sets the progress of the fluent hover glow effect selection animation corresponding to the left pointer (0.0 - 1.0).
blob Pulse2
Gets or sets the progress of the fluent hover glow effect selection animation corresponding to the right pointer (0.0 - 1.0).
fade Out
Gets or sets the opacity of the backplate (0.0 - 1.0).
global Left Index Tip Position
Gets or sets the world-space position of the tip of the left index finger.
global Right Index Tip Position
Gets or sets the world-space position of the tip of the right index finger.
highlight Color
Gets or sets the color of the highlights on the backplate line.
highlight Width
Gets or sets the width of the highlights on the backplate line.
iridescence Edge Intensity
Gets or sets the intensity of the iridescence effect on the backplate edges.
iridescence Intensity
Gets or sets the intensity of the iridescence effect.
line Color
Gets or sets the line color of the backplate.
line Width
Gets or sets the line width of the backplate.
radius
Gets or sets the corner radius on the backplate. Best to keep this value between 0.01 and 0.5. Default is 0.03.
StaticBLOB_ TEXTURE_ URL
URL pointing to the texture used to define the coloring for the fluent blob effect.
StaticIM_ TEXTURE_ URL
URL pointing to the texture used to define iridescent map.
Methods
bind For Sub Mesh
-
Parameters
- world: Matrix
- mesh: Mesh
- subMesh: SubMesh
Returns void
clone
-
Parameters
- name: string
Returns FluentBackplateMaterial
dispose
-
Disposes the material.
Parameters
OptionalforceDisposeEffect: booleanspecifies if effects should be forcefully disposed
Returns void
get Alpha Test Texture
-
Returns Nullable<BaseTexture>
get Animatables
-
Get the list of animatables in the material.
Returns IAnimatable[]
the list of animatables object used in the material
get Class Name
-
Returns string
is Ready For Sub Mesh
-
Parameters
- mesh: AbstractMesh
- subMesh: SubMesh
Returns boolean
need Alpha Blending
-
Returns boolean
need Alpha Testing
-
Returns boolean
serialize
-
Returns any
StaticParse
-
Creates a fluent backplate material from parsed material data.
Parameters
- source: any
defines the JSON representation of the material
- scene: Scene
defines the hosting scene
- rootUrl: string
defines the root URL to use to load textures and relative dependencies
Returns FluentBackplateMaterial
a new fluent backplate material
- source: any
Class used to render square buttons with fluent design