Link Search Menu Expand Document

You are browsing the documentation for v0.x.
Visit here for the newest version.

VglMesh

A component representing triangular polygon mesh based objects, corresponding THREE.Mesh.

Properties of VglObject3d are also available as mixin.

props

  • geometry name (optional)

    Name of the geometry, defining the object’s structure.

  • material names (optional)

    A Material name or an array of Material name, defining the object’s appearance.

    A single material will apply the material to all object’s faces meanwhile an array of material will apply each material to the matching index object’s face

computed properties

  • inst

    The THREE.Mesh instance.