Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IMaterialGemData

Hierarchy

Implemented by

Index

Properties

alphaCutoff: number
alphaMode: MATERIAL_ALPHA
aoMapIntensity: number
bumpScale: number
color: Color
convertedObject: {}

The converted object of the tree node.

Type declaration

  • [key: string]: unknown
emissiveness: Color
id: string

The ID of the tree node data.

materialOutput: boolean
normalScale: number
opacity: number
updateCallback: null | ((newVersion: string, oldVersion: string) => void)

The update callback for the tree node data. This callback is called when the node is updated, e.g. when the version changes.

updateCallbackConvertedObject: null | ((newObj: unknown, oldObj: unknown, viewport: string) => void)

The update callback for the converted object of the tree node.

version: string

The version of the tree node data. If the version changes, the node data will be marked for an update. A version change can be triggered via updateVersion.

alphaMap?: IMapData
aoMap?: IMapData
brightness?: number
bumpMap?: IMapData
center?: vec3
colorTransferBegin?: Color
colorTransferEnd?: Color
contrast?: number
depthTest?: boolean
depthWrite?: boolean
dispersion?: number
emissiveMap?: IMapData
envMap?: string | string[]
gamma?: number
impurityMap?: IMapData
impurityScale?: number
map?: IMapData
name?: string
normalMap?: IMapData
radius?: number
refractionIndex?: number
sphericalNormalMap?: IMapData
tracingDepth?: number
tracingOpacity?: number
transparent?: boolean

Methods

  • reset(): void
  • updateVersion(): void