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.1.1.0 (2024.1.1)
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