GltfConversions.GetColorValue(Single[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get Color from float array
public:
[System::Runtime::CompilerServices::Extension]
static UnityEngine::Color GetColorValue(cli::array <float> ^ colorArray);
public static UnityEngine.Color GetColorValue (this float[] colorArray);
static member GetColorValue : single[] -> UnityEngine.Color
<Extension()>
Public Function GetColorValue (colorArray As Single()) As Color
Parameters
- colorArray
- Single[]
Returns
- UnityEngine.Color