EditorExportPlatform
Identifies a supported export platform, and internally provides the functionality of exporting to that platform.
EditorExportPlatform.swift:14class EditorExportPlatform
Base resource that provides the functionality of exporting a release build of a project to a platform, from the editor. Stores platform-specific metadata such as the name and supported features of the platform, and performs the exporting of projects, PCK files, and ZIP files. Uses an export template for the platform provided at the time of project exporting.
Used in scripting by EditorExportPlugin
to configure platform-specific customization of scenes and resources. See _beginCustomizeScenes(platform:features:)
and _beginCustomizeResources(platform:features:)
for more details.
Superclasses
class RefCounted
Base class for reference-counted objects.
Citizens in SwiftGodot
Conformances
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.protocol Identifiable<ID>
A class of types whose instances hold the value of an entity with stable identity.
protocol VariantRepresentable
Types that conform to VariantRepresentable can be stored directly in
Variant
with no conversion. These include all of the Variant types from Godot (for exampleGString
,Rect
,Plane
), Godot objects (those that subclass SwiftGodot.Object) as well as the built-in Swift types UInt8, Int64 and Double.protocol VariantStorable
Types that conform to VariantStorable can be stored in a Variant and can be extracted back out of a Variant.
Type members
Instance members
func getOsName(
) -> String Returns the name of the export operating system handled by this
EditorExportPlatform
class, as a friendly string. Possible return values areWindows
,Linux
,macOS
,Android
,iOS
, andWeb
.
Subclasses
class EditorExportPlatformAndroid
Exporter for Android.
class EditorExportPlatformIOS
Exporter for iOS.
class EditorExportPlatformMacOS
Exporter for macOS.
class EditorExportPlatformPC
Base class for the desktop platform exporter (Windows and Linux/BSD).
class EditorExportPlatformWeb
Exporter for the Web.