docs.unity.cn
    Show / Hide Table of Contents

    Class ColorHelper

    Inheritance
    Object
    ColorHelper
    Namespace: UnityEngine.Reflect
    Syntax
    public static class ColorHelper

    Methods

    ReadColor(NativeArray<Byte>, TextureFormat, Int32, ref Color)

    Declaration
    public static void ReadColor(NativeArray<byte> bytes, TextureFormat format, int colorIndex, ref Color color)
    Parameters
    Type Name Description
    NativeArray<Byte> bytes
    TextureFormat format
    Int32 colorIndex
    Color color

    WriteColor(NativeArray<Byte>, TextureFormat, Int32, Color)

    Declaration
    public static void WriteColor(NativeArray<byte> bytes, TextureFormat format, int colorIndex, Color color)
    Parameters
    Type Name Description
    NativeArray<Byte> bytes
    TextureFormat format
    Int32 colorIndex
    Color color
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on 03 February 2022
    Terms of use