@yaelg/tresjs-core
Version:
Declarative ThreeJS using Vue Components
18 lines (17 loc) • 544 B
TypeScript
/**
* Seek composable return type
*
* @export
* @interface UseSeekReturn
*/
export interface UseSeekReturn {
seek: (parent: THREE.Scene | THREE.Object3D, property: string, value: string) => THREE.Object3D | null;
seekByName: (parent: THREE.Scene | THREE.Object3D, value: string) => THREE.Object3D | null;
}
/**
* Composable that provides utilities to easily traverse and navigate through complex scenes and object children graphs
*
* @export
* @return {*} {UseSeekReturn}
*/
export declare function useSeek(): UseSeekReturn;