colorchannel - eisclimber/ExPresS-XR GitHub Wiki

ColorChannel

Class in ExPresSXR.Minigames.Excavation

Inherits from System.Object

Summary

A component that allows drawing on an excavation area.
This is done by casting a raycast in the local up direction of this component. If it hits an excavation area, it will automatically draw on it with a strength relative to the distance.

public static class ColorChannel

Enums

Name Description
Channels Represents the for channels in a RGBA color.

Methods

Name Description
GetColorChannelValue(Channels,Color) Retrieves the value of the color channel of the color.
GetColorWithChannelValue(Channels,float,float) Returns a color with only the activated color channel with the desired value and optional opacity.
All other channels will be 0.0f with exception of the alpha channel which will be 1.0f to represent full opacity.
⚠️ **GitHub.com Fallback** ⚠️