Click or drag to resize
SoGLGraphicConfigTemplateSetFloatRGBAColor Method (SoGraphicConfigTemplatePreferences, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32)

Sets the float color preferences.

Namespace: OIV.Inventor.Components
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax
public void SetFloatRGBAColor(
	SoGraphicConfigTemplatePreferences pref,
	int minFloatRedBits,
	int minFloatGreenBits,
	int minFloatBlueBits,
	int minFloatAlphaBits,
	int maxFloatRedBits,
	int maxFloatGreenBits,
	int maxFloatBlueBits,
	int maxFloatAlphaBits
)

Parameters

pref
Type: OIV.Inventor.ComponentsSoGraphicConfigTemplatePreferences
minFloatRedBits
Type: SystemInt32
minFloatGreenBits
Type: SystemInt32
minFloatBlueBits
Type: SystemInt32
minFloatAlphaBits
Type: SystemInt32
maxFloatRedBits
Type: SystemInt32
maxFloatGreenBits
Type: SystemInt32
maxFloatBlueBits
Type: SystemInt32
maxFloatAlphaBits
Type: SystemInt32
Remarks

REQUIRED means RGBA mode and FORBIDDEN means indexed color mode. min(red/green/blue/alpha)Bits and max(red/green/blue/alpha)Bits are the minimum and maximum required sizes. The required size must be greater than or equal to the min(red/green/blue/alpha)Bits, and less than or equal to max(red/green/blue/alpha)Bits. The maximum size is always preferred. If pref is FORBIDDEN, the min/max values are ignored.

See Also