Cosmos Journeyer API Documentation - v1.10.1
    Preparing search index...

    Implements

    Index

    Constructors

    Properties

    instances: InstancedMesh[] = []
    parent: TransformNode

    Methods

    • Creates instances of a copy of the given base mesh (or transform node in the case of HierarchyInstancePatch). The instances will be positioned according to the matrix buffer given in the constructor.

      Parameters

      • baseMeshes: { distance: number; mesh: Mesh }[]

      Returns void

      Error if baseMesh is not a Mesh in the case of InstancePatch and ThinInstancePatch.