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.2.2.Release.778f4cc64de03c89c1282c66aa1f73c0e9a1408b
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