UNPKG

@polygonjs/polygonjs

Version:

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

12 lines (11 loc) 501 B
import { Material } from 'three'; import { TypedContainer } from './_Base'; import { ContainableMap } from './utils/ContainableMap'; import { NodeContext } from '../poly/NodeContext'; export declare class MaterialContainer extends TypedContainer<NodeContext.MAT> { set_content(content: ContainableMap[NodeContext.MAT]): void; coreContentCloned(): ContainableMap[NodeContext.MAT] | undefined; set_material(material: Material): void; has_material(): boolean; material(): Material; }