Click or drag to resize
SoGLScreenDevice Class

GL Screen device class.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.Inventor.DevicesSoGLScreenDevice

Namespace: OIV.Inventor.Devices
Assembly: OIV.Inventor.GL (in OIV.Inventor.GL.dll) Version: 2024.1.0.0 (2024.1.0)
Syntax
public class SoGLScreenDevice : SoNetBase

The SoGLScreenDevice type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetColorDepth

Returns the number of bits per pixel of the device.

Public methodGetGLDevice

Returns the OIV.Inventor.Devices.SoGLDevice object on which the device is connected.

Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetName

Returns an user presentable string representing the device.

Public methodGetPhysicalSize

Returns the device's physical size (in millimeters).

Public methodGetResolution

Returns the device's resolution in pixels.

Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

This class is used to query screen properties. You can query, for example, the resolution in pixels of the device. The list of screens connected to a GPU can be retrieved from the function OIV.Inventor.Devices.SoGLDevice.GetScreenDevice(System.Int32). The main screen connected to a GPU can be retrieved from the function OIV.Inventor.Devices.SoGLDevice.GetMainScreenDevice().

See Also