Roblox API Reference

MaterialService On DevHub

Summary

This class is not creatable. An object of this class cannot be created with Instance.new.
This class is a service. It is a singleton that may be acquired with GetService.

Tags: [NotCreatable, Service]

Inherits (1)

Member index (47)

Type Member History
string AsphaltName 518
string BasaltName 518
string BrickName 518
string CardboardName 588
string CarpetName 588
string CeramicTilesName 588
string ClayRoofTilesName 588
string CobblestoneName 518
string ConcreteName 518
string CorrodedMetalName 518
string CrackedLavaName 518
string DiamondPlateName 518
string FabricName 518
string FoilName 518
string GlacierName 518
string GraniteName 518
string GrassName 518
string GroundName 518
string IceName 518
string LeafyGrassName 518
string LeatherName 588
string LimestoneName 518
string MarbleName 518
string MetalName 518
string MudName 518
string PavementName 518
string PebbleName 518
string PlasterName 588
string PlasticName 518
string RockName 518
string RoofShinglesName 588
string RubberName 588
string SaltName 518
string SandName 518
string SandstoneName 518
string SlateName 518
string SmoothPlasticName 518
string SnowName 518
bool Use2022Materials 513 524 524 525
string WoodName 518
string WoodPlanksName 518
string GetBaseMaterialOverride (Material material) 519
RBXScriptSignal GetMaterialOverrideChanged (Material material) 523
MaterialVariant GetMaterialVariant (Material material, string name) 521
PropertyStatus GetOverrideStatus (Material material) 524
null SetBaseMaterialOverride (Material material, string name) 519 573
OverrideStatusChanged (Material material) 524
57 members inherited from Instance

Removed member index (49)

Type Member History
MaterialVariant Brick 504 504 504 529
MaterialVariant Cobblestone 504 504 504 529
MaterialVariant Concrete 504 504 504 529
MaterialVariant CorrodedMetal 504 504 504 529
MaterialVariant DiamondPlate 504 504 504 529
MaterialVariant Fabric 504 504 504 529
MaterialVariant Foil 504 504 504 529
MaterialVariant Granite 504 504 504 529
MaterialVariant Grass 504 504 504 529
MaterialVariant Ice 504 504 504 529
MaterialVariant Marble 504 504 504 529
MaterialVariant Metal 504 504 504 529
MaterialVariant Pebble 504 504 504 529
MaterialVariant Plastic 504 504 504 529
MaterialVariant Sand 504 504 504 529
MaterialVariant Slate 504 504 504 529
MaterialVariant SmoothPlastic 504 504 504 529
MaterialVariant TerrainAsphalt 505 529
MaterialVariant TerrainBasalt 505 529
MaterialVariant TerrainBrick 505 529
MaterialVariant TerrainCobblestone 505 529
MaterialVariant TerrainConcrete 505 529
MaterialVariant TerrainCrackedLava 505 529
MaterialVariant TerrainGlacier 505 529
MaterialVariant TerrainGrass 505 529
MaterialVariant TerrainGround 505 529
MaterialVariant TerrainIce 505 529
MaterialVariant TerrainLeafyGrass 505 529
MaterialVariant TerrainLimestone 505 529
MaterialVariant TerrainMud 505 529
MaterialVariant TerrainPavement 505 529
MaterialVariant TerrainRock 505 529
MaterialVariant TerrainSalt 505 529
MaterialVariant TerrainSand 505 529
MaterialVariant TerrainSandstone 505 529
MaterialVariant TerrainSlate 512 529
MaterialVariant TerrainSnow 505 529
MaterialVariant TerrainWoodPlanks 512 529
MaterialVariant Wood 504 504 504 529
MaterialVariant WoodPlanks 504 504 504 529
bool hasPropertyWarningInStudio 505 541
void ClearOverridePartMaterial (Material material) 504 529
void ClearOverrideTerrainMaterial (Material material) 505 529
string GetMaterialOverride (Material material) 518 519
MaterialVariant GetOverridePartMaterial (Material material) 504 529
MaterialVariant GetOverrideTerrainMaterial (Material material) 505 529
void SetMaterialOverride (Material material, string name) 518 519
void SetOverridePartMaterial (MaterialVariant materialVariant) 504 529
void SetOverrideTerrainMaterial (MaterialVariant materialVariant) 505 529

History

Members

AsphaltName On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

BasaltName On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

BrickName On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

CardboardName On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

CarpetName On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

CeramicTilesName On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

ClayRoofTilesName On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

CobblestoneName On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

ConcreteName On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

CorrodedMetalName On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

CrackedLavaName On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

DiamondPlateName On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

FabricName On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

FoilName On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

GetBaseMaterialOverride On DevHub

Name Type Default
material Material none

History

GetMaterialOverrideChanged On DevHub

Name Type Default
material Material none

History

GetMaterialVariant On DevHub

Name Type Default
material Material none
name string none

History

GetOverrideStatus On DevHub

Name Type Default
material Material none

History

GlacierName On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

GraniteName On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

GrassName On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

GroundName On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

IceName On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

LeafyGrassName On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

LeatherName On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

LimestoneName On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

MarbleName On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

MetalName On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

MudName On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

OverrideStatusChanged On DevHub

Name Type Default
material Material none

History

PavementName On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

PebbleName On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

PlasterName On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

PlasticName On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

RockName On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

RoofShinglesName On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

RubberName On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

SaltName On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

SandName On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

SandstoneName On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

SetBaseMaterialOverride On DevHub

Name Type Default
material Material none
name string none

History

SlateName On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

SmoothPlasticName On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

SnowName On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

Use2022Materials On DevHub

This item is not replicated. Its interface does not cross the network boundary.

History

Tags: [NotReplicated]

WoodName On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

WoodPlanksName On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

Removed members

Brick

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

ClearOverridePartMaterial

Name Type Default
material Material none

History

ClearOverrideTerrainMaterial

Name Type Default
material Material none

History

Cobblestone

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

Concrete

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

CorrodedMetal

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

DiamondPlate

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

Fabric

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

Foil

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

GetMaterialOverride

Name Type Default
material Material none

History

GetOverridePartMaterial

Name Type Default
material Material none

History

GetOverrideTerrainMaterial

Name Type Default
material Material none

History

Granite

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

Grass

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

Ice

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

Marble

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

Metal

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

Pebble

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

Plastic

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

Sand

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

SetMaterialOverride

Name Type Default
material Material none
name string none

History

SetOverridePartMaterial

Name Type Default
materialVariant MaterialVariant none

History

SetOverrideTerrainMaterial

Name Type Default
materialVariant MaterialVariant none

History

Slate

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

SmoothPlastic

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

TerrainAsphalt

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

TerrainBasalt

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

TerrainBrick

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

TerrainCobblestone

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

TerrainConcrete

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

TerrainCrackedLava

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

TerrainGlacier

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

TerrainGrass

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

TerrainGround

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

TerrainIce

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

TerrainLeafyGrass

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

TerrainLimestone

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

TerrainMud

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

TerrainPavement

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

TerrainRock

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

TerrainSalt

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

TerrainSand

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

TerrainSandstone

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

TerrainSlate

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

TerrainSnow

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

TerrainWoodPlanks

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

Wood

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

WoodPlanks

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

hasPropertyWarningInStudio

This property is read-only. Its value can be read, but it cannot be modified.
This member is hidden. It is not meant to be used, and may have unresolved issues.
This item is not replicated. Its interface does not cross the network boundary.

History

Tags: [Hidden, ReadOnly, NotReplicated]

Relevant classes (1)

Relevant enums (2)