UNPKG

@polygonjs/polygonjs

Version:

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

10 lines (9 loc) 862 B
import { AttribValue, PolyDictionary } from '../../../../types/GlobalTypes'; import { CoreObjectType, ObjectContent } from '../../ObjectContent'; import { AttribSize, AttribType, ObjectData } from '../../Constant'; import type { BaseCoreObject } from '../../entities/object/BaseCoreObject'; export type AttributeDictionary = PolyDictionary<AttribValue>; export declare function objectData<T extends CoreObjectType>(object: ObjectContent<T>): ObjectData; export declare function coreObjectsAttribSizesByName<T extends CoreObjectType>(coreObjects: BaseCoreObject<T>[]): PolyDictionary<AttribSize[]>; export declare function coreObjectAttributeTypesByName<T extends CoreObjectType>(coreObjects: BaseCoreObject<T>[]): PolyDictionary<AttribType[]>; export declare function coreObjectsAttribNames<T extends CoreObjectType>(coreObjects: BaseCoreObject<T>[]): string[];