API Docs for:
Show:

LS.Components.GeometricPrimitive Class

GeometricPrimitive renders a primitive

Constructor

LS.Components.GeometricPrimitive

(
  • object
)

Parameters:

  • object String

    to configure from

Item Index

Methods

Methods

setCustomMesh

(
  • mesh
)

Assigns a mesh as custom mesh and sets the geometry to CUSTOM

Parameters:

  • mesh GL.Mesh

    the mesh to use as custom mesh