UNPKG

@polygonjs/polygonjs

Version:

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

15 lines (14 loc) 1.62 kB
import type { Vector4, Vector3, Vector2 } from 'three'; import { CoreObjectType, ObjectContent } from '../geometry/ObjectContent'; export declare function setObjectVector4(object: ObjectContent<CoreObjectType>, attribName: string, value: Vector4): void; export declare function getObjectVector4(object: ObjectContent<CoreObjectType>, attribName: string, target: Vector4): void; export declare function setObjectVector3(object: ObjectContent<CoreObjectType>, attribName: string, value: Vector3): void; export declare function getObjectVector3(object: ObjectContent<CoreObjectType>, attribName: string, target: Vector3): void; export declare function setObjectVector2(object: ObjectContent<CoreObjectType>, attribName: string, value: Vector2): void; export declare function getObjectVector2(object: ObjectContent<CoreObjectType>, attribName: string, target: Vector2): void; export declare function setObjectNumber(object: ObjectContent<CoreObjectType>, attribName: string, value: number): void; export declare function getObjectNumber(object: ObjectContent<CoreObjectType>, attribName: string, defaultValue: number): number; export declare function setObjectBoolean(object: ObjectContent<CoreObjectType>, attribName: string, value: boolean): void; export declare function getObjectBoolean(object: ObjectContent<CoreObjectType>, attribName: string, defaultValue: boolean): boolean; export declare function setObjectString(object: ObjectContent<CoreObjectType>, attribName: string, value: string): void; export declare function getObjectString(object: ObjectContent<CoreObjectType>, attribName: string): string | undefined;