UNPKG

@polygonjs/polygonjs

Version:

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

31 lines (30 loc) 1.07 kB
import type { Vector3 } from 'three'; import type { ObjectContent, CoreObjectType } from '../../../../../../core/geometry/ObjectContent'; import type { PrimitiveGraph } from '../../../../../../core/geometry/entities/primitive/PrimitiveGraph'; export declare enum EntityBuilderAssemblerConstant { OBJECT = "entityContainer.object", ENTITY_CONTAINER = "entityContainer", POSITION = "entityContainer.position", NORMAL = "entityContainer.normal", INDEX = "entityContainer.index", OBJNUM = "entityContainer.objnum", NORMALS_UPDATED = "entityContainer.normalsUpdated", PRIMITIVE_GRAPH = "entityContainer.primitiveGraph", ATTRIBUTES_DICT = "attributesDict", MATERIAL = "null" } export interface EntityContainer { object: ObjectContent<CoreObjectType>; position: Vector3; normal: Vector3; index: number; objnum: number; normalsUpdated: boolean; primitiveGraph?: PrimitiveGraph; } export declare enum EntityVariable { POSITION = "position", NORMAL = "normal", INDEX = "index", OBJNUM = "objnum" }