@awayjs/view
Version:
View for AwayJS
20 lines (15 loc) • 799 B
text/typescript
import { Box, Vector3D, Sphere, IEventDispatcher, Matrix3D } from '@awayjs/core';
import { ContainerNode } from '../partition/ContainerNode';
import { INode } from '../partition/INode';
/**
* Provides an interface for picking objects that can pick 3d objects from a view or scene.
*
* @interface away.pick.IBoundsPicker
*/
export interface IBoundsPicker extends IEventDispatcher
{
node: ContainerNode;
_hitTestPointInternal(rootNode: INode, x: number, y: number, shapeFlag?: boolean, maskFlag?: boolean): boolean
_getBoxBoundsInternal(invTargetMatrix?: Matrix3D, strokeFlag?: boolean, fastFlag?: boolean, cache?: Box, target?: Box): Box
_getSphereBoundsInternal(center?: Vector3D, matrix3D?: Matrix3D, strokeFlag?: boolean, fastFlag?: boolean, cache?: Sphere, target?: Sphere): Sphere
}