Skip to content

@orillusion/core


Class: OutlinePostManager

Defined in: src/io/OutlineManager.ts:10

manager of outline effect

Constructors

Constructor

new OutlinePostManager(): OutlinePostManager

Returns

OutlinePostManager

Methods

setOutline()

setOutline(objectList, color?): void

Defined in: src/io/OutlineManager.ts:20

config outline manager. Specify specific 3D objects to use the specified color for display outline

Parameters

objectList

Object3D[]

A set of 3D objects

color?

Color

Specified color for outline

Returns

void


setOutlineList()

setOutlineList(groupList, colorList?): void

Defined in: src/io/OutlineManager.ts:30

config outline manager. The first set of objects uses the first color to display outline, and so on

Parameters

groupList

Object3D[][]

A group of 3D objects set

colorList?

Color[]

Specified color list for outline

Returns

void


clearOutline()

clearOutline(): this

Defined in: src/io/OutlineManager.ts:50

clear outline effect

Returns

this

Released under the MIT License