Capítulo 85 de 859

Chapter 85: MeshToonNodeMaterial

Core Idea

Node material version of MeshToonMaterial.

Key Concepts

  • isMeshToonNodeMaterial : boolean (readonly): This flag can be used for type testing.
  • lights : boolean: Set to true because toon materials react on lights.

Reference Tables

Constructor

Signature
new MeshToonNodeMaterial( parameters : Object )

Properties

PropertyDescription
.isMeshToonNodeMaterial : boolean (readonly)This flag can be used for type testing.
.lights : booleanSet to true because toon materials react on lights.

Methods

MethodDescription
.setupLightingModel() : ToonLightingModelSetups the lighting model.

Key Takeaways

  1. MeshToonNodeMaterial extends: EventDispatcher → Material → NodeMaterial
  2. Most relevant properties: isMeshToonNodeMaterial, lights.
  3. Key methods: setupLightingModel.

Connects To