Engine API Reference - v2.6.1
    Preparing search index...

    Class Morph

    Contains a list of MorphTargets, a combined delta AABB and some associated data.

    Hierarchy (View Summary)

    Index

    Constructors

    • Create a new Morph instance.

      Parameters

      • targets: MorphTarget[]

        A list of morph targets.

      • graphicsDevice: GraphicsDevice

        The graphics device used to manage this morph target.

      • Optionaloptions: { preferHighPrecision?: boolean } = {}

        Object for passing optional arguments.

        • OptionalpreferHighPrecision?: boolean

          True if high precision storage should be preferred. This is faster to create and allows higher precision, but takes more memory and might be slower to render. Defaults to false.

      Returns Morph

    Properties

    preferHighPrecision: boolean

    Accessors

    • get refCount(): number

      Gets the current reference count.

      Returns number

    Methods

    • Frees video memory allocated by this object.

      Returns void