Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | List of all members
RUI.Icons.Selectable.Icon Class Reference

Used in PartCategorizer for editor part category icons More...

Public Member Functions

override bool Equals (System.Object obj)
 
bool Equals (Icon p)
 
override int GetHashCode ()
 
string GetName ()
 
 Icon (string name, Texture iconNormal, Texture iconSelected, bool simple=false)
 Constructor for Icon More...
 

Public Attributes

Texture iconNormal
 
Texture iconSelected
 
string name = ""
 
bool simple = false
 

Detailed Description

Used in PartCategorizer for editor part category icons

Constructor & Destructor Documentation

RUI.Icons.Selectable.Icon.Icon ( string  name,
Texture  iconNormal,
Texture  iconSelected,
bool  simple = false 
)
inline

Constructor for Icon

Parameters
nameThe identifier of the icon
iconNormalThe "normal" state of the icon
iconSelectedThe "selected" state of the icon
simpleIf true you only have to specify the selected state of the icon. A black "normal" state will be generated automatically.

Member Function Documentation

override bool RUI.Icons.Selectable.Icon.Equals ( System.Object  obj)
inline
bool RUI.Icons.Selectable.Icon.Equals ( Icon  p)
inline
override int RUI.Icons.Selectable.Icon.GetHashCode ( )
inline
string RUI.Icons.Selectable.Icon.GetName ( )
inline

Member Data Documentation

Texture RUI.Icons.Selectable.Icon.iconNormal
Texture RUI.Icons.Selectable.Icon.iconSelected
string RUI.Icons.Selectable.Icon.name = ""
bool RUI.Icons.Selectable.Icon.simple = false

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