Tanoda
Leap.Unity.GraphicalRenderer.SupportInfo Struct Reference

The support info class provides a very basic way to notify that something is fully supported, partially supported, or not supported. The struct contains a support type, which can be either Full, Warning, or Error. The struct also contains a message to give information about the support. More...

Public Member Functions

SupportInfo OrWorse (SupportInfo other)
 Helper method that returns either the current support info struct, or the argument support info struct. The argument is only chosen as the return value if it has less support than the current support. More...
 

Static Public Member Functions

static SupportInfo FullSupport ()
 Helper getter to return a struct that signifies full support. More...
 
static SupportInfo Warning (string message)
 Helper getter to return a struct that signifies partial support with a warning message. More...
 
static SupportInfo Error (string message)
 Helper getter to return a struct that signifies no support with an error message. More...
 

Public Attributes

SupportType support
 
string message
 

Detailed Description

The support info class provides a very basic way to notify that something is fully supported, partially supported, or not supported. The struct contains a support type, which can be either Full, Warning, or Error. The struct also contains a message to give information about the support.

Definition at line 21 of file SupportInfo.cs.

Member Function Documentation

◆ Error()

static SupportInfo Leap.Unity.GraphicalRenderer.SupportInfo.Error ( string  message)
static

Helper getter to return a struct that signifies no support with an error message.

Definition at line 42 of file SupportInfo.cs.

◆ FullSupport()

static SupportInfo Leap.Unity.GraphicalRenderer.SupportInfo.FullSupport ( )
static

Helper getter to return a struct that signifies full support.

Definition at line 28 of file SupportInfo.cs.

◆ OrWorse()

SupportInfo Leap.Unity.GraphicalRenderer.SupportInfo.OrWorse ( SupportInfo  other)

Helper method that returns either the current support info struct, or the argument support info struct. The argument is only chosen as the return value if it has less support than the current support.

Definition at line 51 of file SupportInfo.cs.

◆ Warning()

static SupportInfo Leap.Unity.GraphicalRenderer.SupportInfo.Warning ( string  message)
static

Helper getter to return a struct that signifies partial support with a warning message.

Definition at line 35 of file SupportInfo.cs.

Member Data Documentation

◆ message

string Leap.Unity.GraphicalRenderer.SupportInfo.message

Definition at line 23 of file SupportInfo.cs.

◆ support

SupportType Leap.Unity.GraphicalRenderer.SupportInfo.support

Definition at line 22 of file SupportInfo.cs.


The documentation for this struct was generated from the following file: