Skip to content

getOrCreateObject3D has been deprecated. Use setObject3D() and object3dset event instead.  #312

Description

@dzg

The "text-geometry" component has a line:

const mesh = el.getOrCreateObject3D('mesh', THREE.Mesh)

which generates this warning from aframe:

`getOrCreateObject3D` has been deprecated. Use `setObject3D()` and `object3dset` event instead. 

What should I replace this with? I don't think  setObject3D() nor object3dset works.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions