@lukekaalim/act-three 5.13.0 → 5.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components.d.ts +5 -1
- package/package.json +1 -1
package/components.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Component, Ref } from "@lukekaalim/act";
|
|
2
|
-
import { AmbientLight, Color, CubeTexture, DirectionalLight, Euler, HemisphereLight, Light, Line, LineLoop, LineSegments, Mesh, PerspectiveCamera, PointLight, Quaternion, Scene, Sprite, Texture, Vector3 } from "three";
|
|
2
|
+
import { AmbientLight, Color, CubeTexture, DirectionalLight, Euler, Group, HemisphereLight, Light, Line, LineLoop, LineSegments, Mesh, PerspectiveCamera, PointLight, Quaternion, Scene, Sprite, Texture, Vector3 } from "three";
|
|
3
3
|
|
|
4
4
|
export type ReferenceProps<T> = {
|
|
5
5
|
ref?: ((reference: T) => unknown) | Ref<null | T>
|
|
@@ -32,6 +32,10 @@ export type SceneProps =
|
|
|
32
32
|
"environment"
|
|
33
33
|
]>
|
|
34
34
|
|
|
35
|
+
export const group: Component<GroupProps>;
|
|
36
|
+
export type GroupProps =
|
|
37
|
+
& Object3DProps<Group>
|
|
38
|
+
|
|
35
39
|
export const mesh: Component<MeshProps>;
|
|
36
40
|
export type MeshProps =
|
|
37
41
|
& Object3DProps<Mesh>
|