Click or drag to resize
SoRenderAreaCoreSetClearColor Method

Defines the RGBA value used when the color buffer is cleared.

Preview Feature: this class is fully supported and can be used in Open Inventor applications. Being tagged as a Preview Feature just means that the implementation is still subject to API changes and adjustments based on feedback from early adopters. Please be also aware that source compatibility might be broken regardless of the Open Inventor compatibility changes policy due to our commitment to bring needed changes to be sure the specifications of this Preview Feature match the expectations of our customers.

Namespace: OIV.Inventor.ViewerComponents
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.36.0 (9.9.36.0)
Syntax
public virtual void SetClearColor(
	SbColorRGBA color
)

Parameters

color
Type: OIV.InventorSbColorRGBA

RGBA value used to clear the color buffer.

Implements

SiRenderAreaSetClearColor(SbColorRGBA)
Remarks

See also setClearPolicy. Default is transparent black (0,0,0,0).

This is equivalent to setBackgroundColor() in the classical view classes.

See Also