Api Sandbox ModelEditor GameDataAttribute
class

GameDataAttribute

public class GameDataAttribute : LibraryAttribute

Indicates that this class/struct should be available as GenericGameData node in ModelDoc

Constructors

GameDataAttribute(String name)

Properties

Name Type Description
AllowMultiple Boolean Indicates that this type compiles as list, rather than a single entry in the model. This will also affect how you retrieve this data via Model.GetData().
Assembly: Sandbox.Engine Namespace: Sandbox.ModelEditor Full Name: Sandbox.ModelEditor.GameDataAttribute