Function createAttachMaterialEffect

  • Utility function to attach child material component

    Type Parameters

    • T extends AbstractMesh = AbstractMesh

    Parameters

    • resolved: ChildrenReturn
    • meshInstance: Accessor<T>
    • Optional materialSlot: ConditionalKeys<T, Material>
      Optional

    Returns void