Platformer Pro  2.3.2
A platform game kit for Unity.
XNode.Node.NodeTintAttribute Class Reference
Inheritance diagram for XNode.Node.NodeTintAttribute:

Public Member Functions

 NodeTintAttribute (float r, float g, float b)
 Specify a color for this node type More...
 
 NodeTintAttribute (string hex)
 Specify a color for this node type More...
 
 NodeTintAttribute (byte r, byte g, byte b)
 Specify a color for this node type More...
 

Public Attributes

Color color
 

Constructor & Destructor Documentation

◆ NodeTintAttribute() [1/3]

XNode.Node.NodeTintAttribute.NodeTintAttribute ( float  r,
float  g,
float  b 
)

Specify a color for this node type

Parameters
rRed [0.0f .. 1.0f]
gGreen [0.0f .. 1.0f]
bBlue [0.0f .. 1.0f]

◆ NodeTintAttribute() [2/3]

XNode.Node.NodeTintAttribute.NodeTintAttribute ( string  hex)

Specify a color for this node type

Parameters
hexHEX color value

◆ NodeTintAttribute() [3/3]

XNode.Node.NodeTintAttribute.NodeTintAttribute ( byte  r,
byte  g,
byte  b 
)

Specify a color for this node type

Parameters
rRed [0 .. 255]
gGreen [0 .. 255]
bBlue [0 .. 255]

Member Data Documentation

◆ color

Color XNode.Node.NodeTintAttribute.color

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