MCPcopy Create free account
hub / github.com/expo/examples / constructor

Method constructor

with-three/App.js:77–84  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75
76class IconMesh extends Mesh {
77 constructor() {
78 super(
79 new BoxBufferGeometry(1.0, 1.0, 1.0),
80 new MeshStandardMaterial({
81 map: new TextureLoader().load(require("./icon.jpg")),
82 })
83 );
84 }
85}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected