RepositoryDocsExamples
  • Preparing search index...
  • The search index is not available
gpu-curtains
  • gpu-curtains
  • core/meshes/mixins/MeshBaseMixin
  • MeshBaseMixin

Function MeshBaseMixin

  • MeshBaseMixin<TBase extends MixinConstructor<{}>>(
        Base: TBase,
    ): MixinConstructor<MeshBaseClass> & TBase
  • Used to mix the basic Mesh properties and methods defined in MeshBaseClass (basically, set a Geometry and a RenderMaterial and render them, add helpers to create MediaTexture and Texture) with a given Base of type Object3D, ProjectedObject3D, DOMObject3D or an empty class.

    Type Parameters

    • TBase extends MixinConstructor<{}>

    Parameters

    • Base: TBase

      the class to mix onto

    Returns MixinConstructor<MeshBaseClass> & TBase

    • the mixed classes, creating a basic Mesh.
    • Defined in src/core/meshes/mixins/MeshBaseMixin.ts:429

Settings

Member Visibility
RepositoryDocsExamples
gpu-curtains
  • Loading...