FGDTypeAttributeclass

Overrides the auto generated FGD type.

objectAssetPathAttributeFGDTypeAttribute
Namespace
Sandbox
Assembly
Sandbox.Engine
Declaration
public class Sandbox.FGDTypeAttribute : Sandbox.AssetPathAttribute

Constructors1

Showing 1 constructors

public FGDTypeAttribute(string type, string editor, string editorArgs)PUBLICCONSTRUCTOR

ParameterTypeDescription
typestringThe FGD type override.
editorstringThe name of a custom editor to use for this property.
editorArgsstringArguments for given editor override. Format depends on each editor.

Properties1

Showing 1 properties

public virtual string Sandbox.FGDTypeAttribute.AssetTypeExtension { get; set; }PUBLICVIRTUALGETSET

Returns:string

On this page