Click or drag to resize
SoPreferencesGetVec3f Method

Returns the value of the specified environment variable in the Open Inventor environment, interpreted as an OIV.Inventor.SbVec3f.

Namespace: OIV.Inventor
Assembly: OIV.Inventor.Base (in OIV.Inventor.Base.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public static SbVec3f GetVec3f(
	string name,
	SbVec3f defaultValue
)

Parameters

name
Type: SystemString
defaultValue
Type: OIV.InventorSbVec3f

Return Value

Type: SbVec3f
Remarks

The search process is the same as for OIV.Inventor.SoPreferences.GetValue(System.String). If the environment variable is not defined in the Open Inventor environment, or if its value cannot be interpreted as an OIV.Inventor.SbVec3f, the specified default value will be returned. To be correctly interpreted, the environment value must be a series of 3 floats separated by spaces.

See Also