Skip to content

Class DefinitionOptions

Namespace: Apogee.Scripting
Assembly: Apogee.Scripting.dll

What a host adds to or takes out of the definitions.

public sealed class DefinitionOptions

Inheritance

object ← DefinitionOptions

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Properties

Globals

The globals the host sets, such as world.

public IReadOnlyList<HostGlobal> Globals { get; init; }

Property Value

IReadOnlyList<HostGlobal>

HiddenClasses

Classes that are registered for scripts but kept out of the definitions (the runtime's smoke test class). Others see them as EngineObject.

public IReadOnlyCollection<string> HiddenClasses { get; init; }

Property Value

IReadOnlyCollection<string>