UNPKG

@polygonjs/polygonjs

Version:

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

56 lines (55 loc) 3.04 kB
import { Object3D, Quaternion, Vector3 } from 'three'; import { ObjectNamedFunction1, ObjectNamedFunction2 } from './_Base'; import { PropertyType } from '../../core/reactivity/ObjectPropertyReactivity'; export declare class getObjectProperty extends ObjectNamedFunction1<[string]> { static type(): string; func<K extends keyof PropertyType>(object3D: Object3D, propertyName: K): PropertyType[K]; } export declare class getObjectWorldPosition extends ObjectNamedFunction1<[Vector3]> { static type(): string; func(object3D: Object3D, target: Vector3): Vector3; } export declare class object3DLocalToWorld extends ObjectNamedFunction2<[Vector3, Vector3]> { static type(): string; func(object3D: Object3D, position: Vector3, target: Vector3): Vector3; } export declare class object3DWorldToLocal extends ObjectNamedFunction2<[Vector3, Vector3]> { static type(): string; func(object3D: Object3D, position: Vector3, target: Vector3): Vector3; } export declare class getChildrenPropertiesPosition extends ObjectNamedFunction1<[Array<Vector3>]> { static type(): string; func: (object3D: Object3D<import("three").Object3DEventMap>, targets: Vector3[]) => Vector3[]; } export declare class getChildrenPropertiesQuaternion extends ObjectNamedFunction1<[Array<Quaternion>]> { static type(): string; func: (object3D: Object3D<import("three").Object3DEventMap>, targets: Quaternion[]) => Quaternion[]; } export declare class getChildrenPropertiesScale extends ObjectNamedFunction1<[Array<Vector3>]> { static type(): string; func: (object3D: Object3D<import("three").Object3DEventMap>, targets: Vector3[]) => Vector3[]; } export declare class getChildrenPropertiesUp extends ObjectNamedFunction1<[Array<Vector3>]> { static type(): string; func: (object3D: Object3D<import("three").Object3DEventMap>, targets: Vector3[]) => Vector3[]; } export declare class getChildrenPropertiesVisible extends ObjectNamedFunction1<[Array<boolean>]> { static type(): string; func: (object3D: Object3D<import("three").Object3DEventMap>, targets: boolean[]) => boolean[]; } export declare class getChildrenPropertiesMatrixAutoUpdate extends ObjectNamedFunction1<[Array<boolean>]> { static type(): string; func: (object3D: Object3D<import("three").Object3DEventMap>, targets: boolean[]) => boolean[]; } export declare class getChildrenPropertiesCastShadow extends ObjectNamedFunction1<[Array<boolean>]> { static type(): string; func: (object3D: Object3D<import("three").Object3DEventMap>, targets: boolean[]) => boolean[]; } export declare class getChildrenPropertiesReceiveShadow extends ObjectNamedFunction1<[Array<boolean>]> { static type(): string; func: (object3D: Object3D<import("three").Object3DEventMap>, targets: boolean[]) => boolean[]; } export declare class getChildrenPropertiesFrustumCulled extends ObjectNamedFunction1<[Array<boolean>]> { static type(): string; func: (object3D: Object3D<import("three").Object3DEventMap>, targets: boolean[]) => boolean[]; }