-
Notifications
You must be signed in to change notification settings - Fork 0
API Reference
Eduard Gushchin edited this page Jun 21, 2026
·
16 revisions
Home | API by Category | Complete API Index | API Compatibility
Complete generated public type index for the Electron2D runtime assembly.
| Type | Kind | Summary |
|---|---|---|
| AnimatedSprite2D | class | Displays and advances a texture-frame animation from a Electron2D.AnimatedSprite2D.SpriteFrames resource. |
| Animation | class | Stores keyframed value and method-call tracks for Electron2D.AnimationPlayer. |
| Animation.InterpolationTypeEnum | enum | Describes how value tracks produce values between neighboring keys. |
| Animation.LoopModeEnum | enum | Describes how playback behaves when it reaches the end of the resource. |
| Animation.TrackTypeEnum | enum | Describes the supported animation track kinds. |
| AnimationLibrary | class | Stores named Electron2D.Animation resources for Electron2D.AnimationPlayer. |
| AnimationPlayer | class | Plays Electron2D.Animation resources against nodes in the scene tree. |
| Area2D | class | Provides an Electron2D 2D area node for overlap and influence queries. |
| AtlasTexture | class | Provides an Electron2D texture that draws a region of another Electron2D.Texture2D. |
| AudioServer | class | Provides process-wide audio device, bus and voice playback state. |
| AudioServer.SpeakerMode | enum | Identifies the speaker layout used by the active audio output. |
| AudioStream | class | Provides the base resource for audio data that can be played by audio nodes. |
| AudioStreamPlayer | class | Plays an Electron2D.AudioStream without positional attenuation. |
| AudioStreamPlayer2D | class | Plays an Electron2D.AudioStream as a sound source in 2D space. |
| Callable | struct | Represents the callable value type. |
| CallbackTweener | class | Calls a Electron2D.Callable when a tween sequence reaches this step. |
| Camera2D | class | Provides the Electron2D 2D camera node for selecting the visible canvas region. |
| CanvasItem | class | Provides the Electron2D base node for items that can be drawn on a 2D canvas. |
| CanvasLayer | class | Provides an Electron2D node that renders 2D descendants on an independent canvas layer. |
| CapsuleShape2D | class | Provides a capsule-shaped 2D physics resource. |
| CharacterBody2D | class | Provides a 2D character body moved directly by user code. |
| CharacterBody2D.MotionModeEnum | enum | Identifies how collisions are classified during slide movement. |
| CharacterBody2D.PlatformOnLeaveEnum | enum | Identifies how platform velocity should be applied when leaving a platform. |
| CircleShape2D | class | Provides a circular 2D physics shape resource. |
| CollisionObject2D | class | Provides the Electron2D base node for 2D objects that own a physics server RID. |
| CollisionShape2D | class | Provides a node that attaches a Electron2D.Shape2D to a collision object. |
| Color | struct | Represents the color value type. |
| ConcavePolygonShape2D | class | Provides a concave polygon 2D physics shape resource backed by line segments. |
| ConnectFlags | enum | Identifies values used by the connect flags API. |
| Control | class | Provides the Electron2D base node for 2D user interface controls. |
| ConvexPolygonShape2D | class | Provides a convex polygon 2D physics shape resource. |
| DisplayServer | class | Provides display, orientation and virtual keyboard state. |
| DisplayServer.ScreenOrientation | enum | Identifies a requested screen orientation. |
| DisplayServer.VirtualKeyboardType | enum | Identifies the requested virtual keyboard layout. |
| Error | enum | Identifies values used by the error API. |
| ExportAttribute | class | Marks a script field or property as an exported value that can be serialized and shown by editor tooling. |
| Font | class | Provides the Electron2D base resource for text layout and drawing. |
| HorizontalAlignment | enum | Defines horizontal text alignment values used by Electron2D text drawing APIs. |
| Input | class | Provides process-wide action input state. |
| InputEvent | class | Base class for Electron2D input events delivered to Electron2D.Node._Input(Electron2D.InputEvent). |
| InputEventAction | class | Represents a direct action input event. |
| InputEventFromWindow | class | Base class for input events that originate from a platform window. |
| InputEventJoypadButton | class | Represents a gamepad button press or release. |
| InputEventJoypadMotion | class | Represents a gamepad axis motion event. |
| InputEventKey | class | Represents a keyboard key press, release, echo, or text input scalar value. |
| InputEventMouse | class | Base class for mouse input events. |
| InputEventMouseButton | class | Represents a mouse button press, release, or wheel step. |
| InputEventMouseMotion | class | Represents a mouse movement event. |
| InputEventScreenDrag | class | Represents a screen touch drag event. |
| InputEventScreenTouch | class | Represents a screen touch press, release or cancel event. |
| InputEventWithModifiers | class | Base class for input events that carry keyboard modifier state. |
| InputMap | class | Stores input actions and their input event bindings. |
| IntervalTweener | class | Consumes time inside a tween sequence without changing objects. |
| JoyAxis | enum | Identifies a normalized gamepad axis. |
| JoyButton | enum | Identifies a standardized gamepad button. |
| Key | enum | Identifies a keyboard key in the Electron2D input event model. |
| KeyLocation | enum | Identifies the left or right location of a keyboard key. |
| KinematicCollision2D | class | Holds collision data returned by 2D body movement methods. |
| Label | class | Provides the Electron2D control for drawing a single line of plain text. |
| Material | class | Provides the Electron2D base resource for visual materials. |
| Mathf | class | Represents the mathf type. |
| MouseButton | enum | Identifies a mouse button or mouse wheel direction in the Electron2D input model. |
| MouseButtonMask | enum | Provides bit flags for mouse buttons held during a mouse event. |
| Node | class | Represents the node type. |
| Node2D | class | Provides the Electron2D 2D transform node used by sprites and future 2D nodes. |
| NodePath | struct | Represents the node path value type. |
| Object | class | Represents the object type. |
| PackedScene | class | Represents the packed scene type. |
| PhysicsBody2D | class | Provides the base node for physical 2D bodies that participate in collision queries. |
| PhysicsDirectSpaceState2D | class | Provides direct 2D physics queries for a Electron2D.World2D. |
| PhysicsMaterial | class | Provides an Electron2D physics material resource for 2D body collision behavior. |
| PhysicsPointQueryParameters2D | class | Stores parameters for Electron2D.PhysicsDirectSpaceState2D.IntersectPoint(Electron2D.PhysicsPointQueryParameters2D,System.Int32). |
| PhysicsRayQueryParameters2D | class | Stores parameters for Electron2D.PhysicsDirectSpaceState2D.IntersectRay(Electron2D.PhysicsRayQueryParameters2D). |
| PhysicsServer2D | class | Provides the Electron2D server boundary for low-level 2D physics objects. |
| PhysicsServer2D.ProcessInfo | enum | Identifies a physics process statistic that can be queried from the server. |
| PhysicsServer2D.ShapeType | enum | Identifies the shape resource kind stored by the physics server. |
| PhysicsServer2D.SpaceParameter | enum | Identifies a configurable parameter of a physics space. |
| PhysicsShapeQueryParameters2D | class | Stores parameters for Electron2D.PhysicsDirectSpaceState2D.IntersectShape(Electron2D.PhysicsShapeQueryParameters2D,System.Int32). |
| PropertyTweener | class | Tweens a public property or field on an object. |
| RandomNumberGenerator | class | Represents the random number generator type. |
| RayCast2D | class | Provides an Electron2D 2D raycast node. |
| Rect2 | struct | Represents the rect2 value type. |
| Rect2I | struct | Represents the rect2 i value type. |
| RectangleShape2D | class | Provides a rectangular 2D physics shape resource. |
| RefCounted | class | Represents the ref counted type. |
| RenderingServer | class | Provides the Electron2D server boundary for rendering capabilities. |
| RenderingServer.RenderingFeature | enum | Identifies a renderer feature that can be queried at runtime. |
| RenderingServer.RenderingProfile | enum | Identifies the active renderer profile. |
| Resource | class | Represents the resource type. |
| ResourceUid | class | Manages stable unique identifiers for resource paths in an Electron2D project. |
| Rid | struct | Represents the rid value type. |
| RigidBody2D | class | Provides an Electron2D rigid 2D physics body. |
| RigidBody2D.CenterOfMassModeEnum | enum | Identifies how the body's center of mass should be selected. |
| RigidBody2D.FreezeModeEnum | enum | Identifies how a frozen rigid body should interact with the simulation. |
| SceneTree | class | Represents the scene tree type. |
| SegmentShape2D | class | Provides a finite line segment 2D physics shape resource. |
| Shader | class | Provides the Electron2D resource for a canvas shader source. |
| Shader.Mode | enum | Identifies the shader mode. |
| ShaderMaterial | class | Provides the Electron2D material resource backed by a custom Electron2D.ShaderMaterial.Shader. |
| Shape2D | class | Provides the Electron2D base resource for 2D physics shapes. |
| SignalAttribute | class | Marks a script delegate declaration as a signal that can be registered on an Electron2D object and emitted through Electron2D.Object.EmitSignal(System.String,System.Object[]). |
| Sprite2D | class | Provides a node that submits a 2D texture for drawing. |
| SpriteFrames | class | Stores named texture-frame animations for Electron2D.AnimatedSprite2D. |
| SpriteFrames.LoopModeEnum | enum | Describes how an animation loops at its boundaries. |
| StaticBody2D | class | Provides an Electron2D static 2D physics body. |
| StringName | struct | Represents the string name value type. |
| Texture2D | class | Provides the Electron2D base resource for 2D textures. |
| ToolAttribute | class | Marks a C# script class as capable of explicit editor-time execution. |
| Transform2D | struct | Represents the transform2 d value type. |
| Translation | class | Stores translated messages for one locale. |
| TranslationServer | class | Provides process-wide translation lookup and locale selection. |
| Tween | class | Runs sequential property, interval and callback animation steps. |
| Tween.EaseType | enum | Lists how a transition curve is applied to normalized time. |
| Tween.TransitionType | enum | Lists transition curves available to tween interpolation. |
| Tweener | class | Represents one step in a Electron2D.Tween sequence. |
| Variant | struct | Stores one value from the closed Electron2D 0.1.0 Preview Variant type set. |
| Variant.Type | enum | Identifies the type currently stored in a Electron2D.Variant. |
| Vector2 | struct | Represents the vector2 value type. |
| Vector2I | struct | Represents the vector2 i value type. |
| VerticalAlignment | enum | Identifies the vertical alignment used by controls that draw text. |
| Viewport | class | Provides the Electron2D viewport node for 2D camera selection and canvas transforms. |
| ViewportTexture | class | Provides an Electron2D dynamic texture for the contents of a Electron2D.Viewport. |
| World2D | class | Provides access to the 2D world associated with a canvas item. |
| Type | Kind | Summary |
|---|---|---|
| Collections.Array | class | Stores an ordered mutable list of Electron2D.Variant values. |
| Collections.Dictionary | class | Stores mutable key/value pairs where both keys and values are Electron2D.Variant. |
Electron2D 0.1.0 Preview API reference. Generated from 175 public runtime types.