Skip to content

Class: OutlinePostManager

manager of outline effect

Constructors

Methods

Constructors

constructor

new OutlinePostManager(): OutlinePostManager

Returns

OutlinePostManager

Methods

setOutline

setOutline(objectList, color?): void

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

Parameters

NameTypeDescription
objectListObject3D[]A set of 3D objects
color?ColorSpecified color for outline

Returns

void

Defined in

src/io/OutlineManager.ts:20


setOutlineList

setOutlineList(groupList, colorList?): void

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

Parameters

NameTypeDescription
groupListObject3D[][]A group of 3D objects set
colorList?Color[]Specified color list for outline

Returns

void

Defined in

src/io/OutlineManager.ts:30


clearOutline

clearOutline(): this

clear outline effect

Returns

this

Defined in

src/io/OutlineManager.ts:50