Click or drag to resize
SoVectorizeActionEnableLighting Method

Allows the user to enable/disable the taking into account of lights in the scene graph during the computation of the vectorized file.

Namespace: OIV.HardCopy
Assembly: OIV.HardCopy (in OIV.HardCopy.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public virtual void EnableLighting(
	bool flag
)

Parameters

flag
Type: SystemBoolean
Remarks

If ...

  • flag = false, whatever the light model, the color of an object is its diffuse color.

  • flag = true and the light model is PHONG, the color of an object depends on its orientation, its material (ambient, diffuse, ..., specular color) and the lights illuminating the object.

See Also