Class MRDLBackplateMaterial
Hierarchy (View Summary)
- WebXRSpatialLayerType
- MRDLBackplateMaterial
Index
Constructors
Properties
Methods
Constructors
constructor
-
Parameters
- name: string
Optionalscene: any
Returns MRDLBackplateMaterial
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.
bottom Left Gradient Color
Gets or sets the bottom left gradient color effect on the backplate.
bottom Right Gradient Color
Gets or sets the bottom right gradient color effect on the backplate.
edge Line Gradient Blend
Gets or sets the edge width of the backplate.
edge Power
Gets or sets the edge width of the backplate.
edge Width
Gets or sets the edge width of the backplate.
fade Out
Gets or sets the opacity of the backplate (0.0 - 1.0).
gradient Color
Gets or sets the gradient color effect on the backplate.
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.
iridescence Tint
Gets or sets the Tint of the iridescence effect on the backplate.
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. If this value is changed, update the lineWidth to match.
radius Bottom Left
Gets or sets the top left Radii Multiplier.
radius Bottom Right
Gets or sets the top left Radii Multiplier.
radius Top Left
Gets or sets the top left Radii Multiplier.
radius Top Right
Gets or sets the top left Radii Multiplier.
top Left Gradient Color
Gets or sets the top left gradient color effect on the backplate.
top Right Gradient Color
Gets or sets the top right gradient color effect on the backplate.
StaticIRIDESCENT_ MAP_ TEXTURE_ URL
URL pointing to the texture used to define the coloring for the Iridescent Map effect.
Methods
bind For Sub Mesh
-
Parameters
- world: Matrix
- mesh: Mesh
- subMesh: SubMesh
Returns void
clone
-
Parameters
- name: string
Returns MRDLBackplateMaterial
dispose
-
Parameters
OptionalforceDisposeEffect: boolean
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
-
Parses a serialized MRDLBackplateMaterial and returns a new instance.
Parameters
- source: any
the serialized object
- scene: Scene
defines the hosting scene
- rootUrl: string
the root URL used to load any associated textures
Returns MRDLBackplateMaterial
a new MRDLBackplateMaterial
- source: any
Class used to render backplate material with MRDL