Class PolymorphicAssetElementAttribute
- Namespace
- Vintagestory.API.Common
- Assembly
- VintagestoryAPI.dll
Marks an interface as a polymorphic asset element type. Open in GitHub
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Interface)]
public sealed class PolymorphicAssetElementAttribute : Attribute
- Inheritance
-
PolymorphicAssetElementAttribute
- Inherited Members
- Extension Methods
Constructors
PolymorphicAssetElementAttribute(string)
public PolymorphicAssetElementAttribute(string name)
Parameters
namestring
Properties
Name
public string Name { get; }