Api Sandbox ColorUsageAttribute
class

ColorUsageAttribute

public sealed class ColorUsageAttribute : Attribute

When applied to a Color property, allows you to specify whether the color should have an alpha channel and/or be in HDR.

Constructors

ColorUsageAttribute(Boolean hasAlpha, Boolean isHDR)

Properties

Name Type Description
HasAlpha Boolean
IsHDR Boolean
Assembly: Sandbox.System Namespace: Sandbox Full Name: Sandbox.ColorUsageAttribute