API ReferenceSandbox
public class Sandbox.GameResourceAttribute : Sandbox.AssetTypeAttributeObsolete
Obsolete
Use AssetType instead
Constructors
Showing 1 constructors
public GameResourceAttribute(string title, string extension, string description)
No results match this filter.
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.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.GameResourceAttribute |