Skip to main content
Skip to main content

setMaterialCustomShaderVariation

setMaterialCustomShaderVariation

Description

Definition

setMaterialCustomShaderVariation(entityId materialId, string shaderVariationName, boolean sharedEdit)

Arguments

entityIdmaterialId
stringshaderVariationName
booleansharedEdit

Return Values

entityIdnewMaterialIdmaterial id of new material (same as materialId with shared edit mode)