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: 10.12.3.0 (10.12.3.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