docs.unity3d.com
Version: 

    Class Material

    The Material is an Entity that contains visual definition that can be applied to the Components of the scene

    Base class: Entity

    classDiagram
        class Material
        Entity <|-- Material
        Material : +core.String Name
        Material : +core.Ident Id
        Material : +core.Boolean DepthTestEnabled
        Material : +ENUM BackFaceMode
        Material : +core.Boolean R
        Material : +core.Boolean G
        Material : +core.Boolean B
        Material : +core.Boolean A
    

    Functions accepting this type or a list of this type as a parameter:

    • algo.filletMesh
    • algo.removeHoles
    • algo.remeshSurfacicHoles
    • cad.setFaceMaterial
    • cad.setEdgeMaterial
    • material.areOpaques
    • material.copyMaterial
    • material.getAllImages
    • material.getColorMaterialInfos
    • material.getCustomMaterialPattern
    • material.getImpostorMaterialInfos
    • material.getMaterialDefinition
    • material.getMaterialDefinitions
    • material.getMaterialMainColor
    • material.getMaterialPattern
    • material.getMaterialPatternType
    • material.getPBRMaterialInfos
    • material.getStandardMaterialInfos
    • material.getUnlitTextureMaterialInfos
    • material.isOpaque
    • material.makeMaterialNamesUnique
    • material.setCoeffOrTextureProperty
    • material.setColorAlphaProperty
    • material.setColorOrTextureProperty
    • material.setMaterialMainColor
    • material.setMaterialPattern
    • material.setPBRMaterialInfos
    • material.getMaterialUserData
    • material.getMultipleMaterialUserData
    • material.hasMaterialUserData
    • material.hasMultipleMaterialUserData
    • material.setMaterialUserData
    • material.setMultipleMaterialUserData
    • material.unsetMaterialUserData
    • material.unsetMultipleMaterialUserData
    • scene.convertMaterialsToColor
    • scene.convertMaterialsToPBR
    • scene.mergeMaterials
    • scene.replaceMaterial
    • scene.setOccurrenceMaterial
    • scene.findOccurrencesByMaterial
    • scene.findPartOccurrencesByActiveMaterial
    • scene.findPartOccurrencesByVisibleMaterial
    • scene.setSubpartMaterial
    • scene.setSubpartMaterials
    • scene.addMeshToAnnotation
    • core.cloneEntity
    • core.deleteEntities
    • core.entityExists
    • core.getEntityType
    • core.getEntityTypeString
    • core.addCustomProperties
    • core.addCustomProperty
    • core.getProperties
    • core.getProperty
    • core.getPropertyInfo
    • core.hasCustomProperty
    • core.hasProperty
    • core.listProperties
    • core.listPropertiesBatch
    • core.removeCustomProperty
    • core.setProperties
    • core.setProperty
    • core.supportCustomProperties
    • core.unsetProperty
    • scene.linkPropertyToAnimation
    • scene.unlinkPropertyToAnimation
    Inheritance
    Material
    Namespace: Material
    Syntax
    Version 2025.2.0.1
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX.