Click or drag to resize
SbColorGetPackedValue Method (Single)
Returns an RGBA packed color value, derived from the color vector and the passed transparency value.

Namespace: OIV.Inventor
Assembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.1.1.Release.7989217834dd2b99155f267b6c8c70f9feacdedd
Syntax
public uint GetPackedValue(
	float transparency
)

Parameters

transparency
Type: SystemSingle
Transparency value.

Return Value

Type: UInt32
RGBA packed color value.
Remarks
The alpha component is set to
(1.0f - transparency) * 255
, resulting in a hex value between 0 and 0xFF.
See Also