@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
25 lines (24 loc) • 2.38 kB
TypeScript
import type { Box3 } from 'three';
import { GeometryContainer } from '..//Geometry';
import { PolyDictionary, AttribValue } from '../../..//types/GlobalTypes';
import { ObjectData, AttribSize, AttribType } from '../../..//core/geometry/Constant';
export declare function pointAttributeSizesByName(sopContainer: GeometryContainer): PolyDictionary<number>;
export declare function pointAttributeTypesByName(sopContainer: GeometryContainer): PolyDictionary<AttribType>;
export declare function vertexAttributeSizesByName(sopContainer: GeometryContainer): PolyDictionary<number>;
export declare function vertexAttributeTypesByName(sopContainer: GeometryContainer): PolyDictionary<AttribType>;
export declare function primitiveAttributeSizesByName(sopContainer: GeometryContainer): PolyDictionary<number>;
export declare function primitiveAttributeTypesByName(sopContainer: GeometryContainer): PolyDictionary<AttribType>;
export declare function objectAttributeSizesByName(sopContainer: GeometryContainer): PolyDictionary<AttribSize[]> | undefined;
export declare function objectAttributeTypesByName(sopContainer: GeometryContainer): PolyDictionary<AttribType[]> | undefined;
export declare function objectAttributeTypeAndSizesByName(sopContainer: GeometryContainer): PolyDictionary<Record<AttribType, AttribSize[]>> | undefined;
export declare function coreGroupAttributeSizesByName(sopContainer: GeometryContainer): PolyDictionary<number>;
export declare function coreGroupAttributeTypesByName(sopContainer: GeometryContainer): PolyDictionary<AttribType>;
export declare function coreGroupAttributeValuesByName(sopContainer: GeometryContainer): PolyDictionary<AttribValue>;
export declare function objectsData(sopContainer: GeometryContainer): Array<ObjectData>;
export declare function totalPointsCount(sopContainer: GeometryContainer): number;
export declare function boundingBox(sopContainer: GeometryContainer, target: Box3): void;
export declare function objectsCountByType(sopContainer: GeometryContainer): PolyDictionary<number>;
export declare function objectsNamesByType(sopContainer: GeometryContainer): PolyDictionary<string[]>;
export declare function objectsVisibleCount(sopContainer: GeometryContainer): number;
export declare function pointsCount(sopContainer: GeometryContainer): number;
export declare function objectsCount(sopContainer: GeometryContainer): number;