s&box docs

public class Sandbox.GameResourceAttribute : Sandbox.AssetTypeAttributeObsolete

Obsolete

Use AssetType instead

Constructors

Showing 1 constructors

Properties

Showing 5 properties

public bool Sandbox.GameResourceAttribute.CanEmbed { get; set; }

Can this GameResource be an embedded resource? Allows the ability to edit a resource inline instead of saving it to a specific file.

public string Sandbox.GameResourceAttribute.Description { get; set; }Obsolete

Description of this game resource. This is obsolete, we'll use the xml summary description.

Obsolete: This API member is obsolete.

public string Sandbox.GameResourceAttribute.Icon { get; set; }

Icon to be used for this asset Can be an absolute path of a PNG Or a material icon for this game resource's thumbnail.

public string Sandbox.GameResourceAttribute.IconBgColor { get; set; }

Background color for this resource's thumbnail.

public string Sandbox.GameResourceAttribute.IconFgColor { get; set; }

Foreground color (icon color) for this resource's thumbnail.

Metadata

FieldValue
NamespaceSandbox
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.GameResourceAttribute

On this page