API

Function PrepareAttributesForMorphTargets

  • Prepares the list of attributes required for morph targets according to the effect defines.

    Parameters

    • attribs: string[]

      The current list of supported attribs

    • mesh: AbstractMesh

      The mesh to prepare the morph targets attributes for

    • defines: any

      The current Defines of the effect

    • usePositionMorph: boolean = true

      Whether the position morph target is used

    Returns void