UNPKG

@polygonjs/polygonjs

Version:

node-based WebGL 3D engine https://polygonjs.com

91 lines (90 loc) 3.35 kB
import { Intersection, Color, Vector2, Vector3, Vector4 } from 'three'; import { NamedFunction2, NamedFunction3, NamedFunction4 } from './_Base'; export declare class getIntersectionAttributeNumberNearest extends NamedFunction3<[Intersection | undefined, string, number]> { static type(): string; func(intersection: Intersection | undefined, attribName: string, notFoundValue: number): number; } export declare class getIntersectionAttributeNumberInterpolated extends NamedFunction3<[ Intersection | undefined, string, number ]> { static type(): string; func(intersection: Intersection | undefined, attribName: string, notFoundValue: number): number; } export declare class getIntersectionAttributeColorNearest extends NamedFunction4<[ Intersection | undefined, string, Color, Color ]> { static type(): string; func(intersection: Intersection | undefined, attribName: string, notFoundValue: Color, target: Color): Color; } export declare class getIntersectionAttributeColorInterpolated extends NamedFunction4<[ Intersection | undefined, string, Color, Color ]> { static type(): string; func(intersection: Intersection | undefined, attribName: string, notFoundValue: Color, target: Color): Color; } export declare class getIntersectionAttributeStringNearest extends NamedFunction2<[Intersection | undefined, string]> { static type(): string; func(intersection: Intersection | undefined, attribName: string): string; } export declare class getIntersectionAttributeVector2Nearest extends NamedFunction4<[ Intersection | undefined, string, Vector2, Vector2 ]> { static type(): string; func(intersection: Intersection | undefined, attribName: string, notFoundValue: Vector2, target: Vector2): Vector2; } export declare class getIntersectionAttributeVector2Interpolated extends NamedFunction4<[ Intersection | undefined, string, Vector2, Vector2 ]> { static type(): string; func(intersection: Intersection | undefined, attribName: string, notFoundValue: Vector2, target: Vector2): Vector2; } export declare class getIntersectionAttributeVector3Nearest extends NamedFunction4<[ Intersection | undefined, string, Vector3, Vector3 ]> { static type(): string; func(intersection: Intersection | undefined, attribName: string, notFoundValue: Vector3, target: Vector3): Vector3; } export declare class getIntersectionAttributeVector3Interpolated extends NamedFunction4<[ Intersection | undefined, string, Vector3, Vector3 ]> { static type(): string; func(intersection: Intersection | undefined, attribName: string, notFoundValue: Vector3, target: Vector3): Vector3; } export declare class getIntersectionAttributeVector4Nearest extends NamedFunction4<[ Intersection | undefined, string, Vector4, Vector4 ]> { static type(): string; func(intersection: Intersection | undefined, attribName: string, notFoundValue: Vector4, target: Vector4): Vector4; } export declare class getIntersectionAttributeVector4Interpolated extends NamedFunction4<[ Intersection | undefined, string, Vector4, Vector4 ]> { static type(): string; func(intersection: Intersection | undefined, attribName: string, notFoundValue: Vector4, target: Vector4): Vector4; }