IESSpotLightNode.html.md 763 B

Inheritance: EventDispatcher → Node → LightingNode → AnalyticLightNode → SpotLightNode →

IESSpotLightNode

An IES version of the default spot light node.

Constructor

new IESSpotLightNode()

Methods

.getSpotAttenuation( builder : NodeBuilder, angleCosine : Node. ) : Node.

Overwrites the default implementation to compute an IES conform spot attenuation.

builder

The node builder.

angleCosine

The angle to compute the spot attenuation for.

Overrides: SpotLightNode#getSpotAttenuation

Returns: The spot attenuation.

Source

src/nodes/lighting/IESSpotLightNode.js

粤ICP备19079148号