Skip to content

MaterialVariant

Not yet Class Other

Represent a variant of a Material.

Not implemented yet

This class exists in the current Roblox API but is not implemented in Nova yet. Scripts that reference it will fail at runtime.

0 Nova members · 22 modern Roblox members not implemented yet

Description

Using MaterialVariant objects can expand the variety of materials in an experience. MaterialVariant has properties that can define the appearance of a material. Its name can be set in MaterialService to globally override a built-in material, or set in the BasePart.MaterialVariant property to change certain Parts. MaterialVariant objects only work as descendants of MaterialService.

Inheritance

Object → Instance → MaterialVariant

Properties

Member Signature Summary
AlphaMode AlphaMode: AlphaMode Determines how the alpha channel of the MaterialVariant.ColorMap is used.
AvgMetalness AvgMetalness: int —
AvgRoughness AvgRoughness: int —
BaseMaterial BaseMaterial: Material Category Material this variant belongs to.
ColorMap ColorMap: ContentId Determines the color of the surface.
ColorMapContent ColorMapContent: Content Determines the color of the surface. Only supports asset URIs as textures.
CustomPhysicalProperties CustomPhysicalProperties: PhysicalProperties Determines the physical properties of parts whose material resolves to this variant.
EmissiveMaskContent EmissiveMaskContent: Content Determines the emissivity across the surface.
EmissiveStrength EmissiveStrength: float Determines the strength of emissive contribution.
EmissiveTint EmissiveTint: Color3 Determines the tinting color for emissive contribution.
MaterialPattern MaterialPattern: MaterialPattern Determines texture tiling method.
MetalnessMap MetalnessMap: ContentId Determines which parts of the surface are metal and are non-metal.
MetalnessMapContent MetalnessMapContent: Content Determines which parts of the surface are metal and are non-metal. Only supports asset URIs as textures.
NormalMap NormalMap: ContentId Modifies the lighting of the surface by adding bumps, dents, cracks, and curves without adding more polygons.
NormalMapContent NormalMapContent: Content Modifies the lighting of the surface by adding bumps, dents, cracks, and curves without adding more polygons. Only supports asset URIs as textures.
RoughnessMap RoughnessMap: ContentId Determines the apparent roughness across the surface.
RoughnessMapContent RoughnessMapContent: Content Determines the apparent roughness across the surface. Only supports asset URIs as textures.
StudsPerTile StudsPerTile: float Determines the scale of textures.
TexturePack TexturePack: ContentId —
TexturePackContent TexturePackContent: Content —

Roblox reference: MaterialVariant

Generated from Nova's API dump and Roblox creator-docs. Nova-only members come from the engine's reflection metadata.