Click or drag to resize

IGraphicsOptionsGetValueT Method

Get a value from the graphics options.

Namespace:  Demo3D.Gui.Options
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 17.00.05
Syntax
C#
T GetValue<T>(
	GraphicsOptionsType type,
	T defaultValue
)
where T : struct, new()

Parameters

type
Type: Demo3D.Gui.OptionsGraphicsOptionsType
The graphics option to retrieve.
defaultValue
Type: T
The value returned if the option was not found.

Type Parameters

T
The type of value to get

Return Value

Type: T
The value of the graphics option.
See Also