Skip to content

Commit

Permalink
chore: BatcheMesh types
Browse files Browse the repository at this point in the history
  • Loading branch information
krispya committed Aug 14, 2024
1 parent 8eaaf27 commit 4096dd4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/fiber/src/three-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ export type PositionalAudioProps = Object3DNode<THREE.PositionalAudio, typeof TH

export type MeshProps = Object3DNode<THREE.Mesh, typeof THREE.Mesh>
export type InstancedMeshProps = Object3DNode<THREE.InstancedMesh, typeof THREE.InstancedMesh>
/** @ts-ignore */
export type BatchedMeshProps = Object3DNode<THREE.BatchedMesh, typeof THREE.BatchedMesh>
export type SceneProps = Object3DNode<THREE.Scene, typeof THREE.Scene>
export type SpriteProps = Object3DNode<THREE.Sprite, typeof THREE.Sprite>
export type LODProps = Object3DNode<THREE.LOD, typeof THREE.LOD>
Expand Down Expand Up @@ -297,6 +299,7 @@ export interface ThreeElements {
positionalAudio: PositionalAudioProps

mesh: MeshProps
batchedMesh: BatchedMeshProps
instancedMesh: InstancedMeshProps
scene: SceneProps
sprite: SpriteProps
Expand Down

0 comments on commit 4096dd4

Please sign in to comment.