Class: OutlinePost
post effect out line OutlinePostManager,
setting
let cfg = {@link Engine3D.setting.render.postProcessing.outline};
let view = new View3D();
view.scene = this.scene;
view.camera = mainCamera;
Engine3D.startRender(renderJob);
Hierarchy
PostBase
↳
OutlinePost
Constructors
Properties
Accessors
Methods
Constructors
constructor
• new OutlinePost(): OutlinePost
Returns
Overrides
PostBase.constructor
Defined in
src/gfx/renderJob/post/OutlinePost.ts:101
Properties
enable
• enable: boolean
= true
Inherited from
PostBase.enable
Defined in
src/gfx/renderJob/post/PostBase.ts:20
postRenderer
• postRenderer: PostRenderer
Inherited from
PostBase.postRenderer
Defined in
src/gfx/renderJob/post/PostBase.ts:21
Accessors
outlinePixel
• get
outlinePixel(): number
Returns
number
Defined in
src/gfx/renderJob/post/OutlinePost.ts:128
• set
outlinePixel(value
): void
Parameters
Name | Type |
---|---|
value | number |
Returns
void
Defined in
src/gfx/renderJob/post/OutlinePost.ts:120
fadeOutlinePixel
• get
fadeOutlinePixel(): number
Returns
number
Defined in
src/gfx/renderJob/post/OutlinePost.ts:140
• set
fadeOutlinePixel(value
): void
Parameters
Name | Type |
---|---|
value | number |
Returns
void
Defined in
src/gfx/renderJob/post/OutlinePost.ts:132
strength
• get
strength(): number
Returns
number
Defined in
src/gfx/renderJob/post/OutlinePost.ts:152
• set
strength(value
): void
Parameters
Name | Type |
---|---|
value | number |
Returns
void
Defined in
src/gfx/renderJob/post/OutlinePost.ts:144
useAddMode
• get
useAddMode(): boolean
Returns
boolean
Defined in
src/gfx/renderJob/post/OutlinePost.ts:160
• set
useAddMode(value
): void
Parameters
Name | Type |
---|---|
value | boolean |
Returns
void
Defined in
src/gfx/renderJob/post/OutlinePost.ts:156
Methods
onResize
▸ onResize(): void
Returns
void
Overrides
PostBase.onResize
Defined in
src/gfx/renderJob/post/OutlinePost.ts:299
destroy
▸ destroy(force?
): void
Parameters
Name | Type |
---|---|
force? | boolean |
Returns
void
Inherited from
PostBase.destroy