docs.unity3d.com
Version: 

    Class CustomMaterialPattern

    A Custom MaterialPattern is an entity which defines an abstract custom Shader. It is used by the Materials

    Base class: Entity

    classDiagram
        class CustomMaterialPattern
        Entity <|-- CustomMaterialPattern
        CustomMaterialPattern : +core.String Name
        CustomMaterialPattern : +core.String VertexShaderCode
        CustomMaterialPattern : +core.String FragmentShaderCode
    

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

    • material.addUniformProperty
    • material.getUniformPropertyType
    • material.setFragmentShader
    • material.setVertexShader
    • 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
    CustomMaterialPattern
    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.