API ReferenceSandbox
GameResourceAttributeclass
Obsolete
Use AssetType instead
Constructors1
Showing 1 constructors
public GameResourceAttribute(string title, string extension, string description)
| Parameter | Type | Description |
|---|---|---|
| title | string | — |
| extension | string | — |
| description | string | — |
No results match this filter.
Properties5
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.
Returns:
bool—public string Sandbox.GameResourceAttribute.Description { get; set; }
Description of this game resource. This is obsolete, we'll use the xml summary description.
Obsolete: This API member is obsolete.
Returns:
string—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.
Returns:
string—public string Sandbox.GameResourceAttribute.IconBgColor { get; set; }
Background color for this resource's thumbnail.
Returns:
string—public string Sandbox.GameResourceAttribute.IconFgColor { get; set; }
Foreground color (icon color) for this resource's thumbnail.
Returns:
string—No results match this filter.