Skip to content

PhysicsServer2D ShapeType

Eduard Gushchin edited this page Jul 1, 2026 · 5 revisions

Home | API by Category | Complete API Index | API Compatibility

Field Value
Full name Electron2D.PhysicsServer2D.ShapeType
Namespace Electron2D
Kind enum
Category Physics

Overview

Identifies the shape resource kind stored by the physics server.

Syntax

public enum Electron2D.PhysicsServer2D.ShapeType : System.IComparable, System.IConvertible, System.IFormattable, System.ISpanFormattable

Godot 4.7 C# profile compatibility

Profile: Electron2D 0.1.0 2D
Status: Partial / Not verified
Out of profile: yes
Godot reference: PhysicsServer2D.ShapeType

Shape type enum for physics server shape RID creation.

Remarks

This type is part of the Electron2D 0.1.0 Preview public API.

Since

This enum is available since Electron2D 0.1.0 Preview.

Members

Member Kind Summary
Capsule Enum value Capsule shape.
Circle Enum value Circle shape.
ConcavePolygon Enum value Concave polygon shape.
ConvexPolygon Enum value Convex polygon shape.
Custom Enum value Reserved custom shape value.
Rectangle Enum value Rectangle shape.
Segment Enum value Finite segment shape.
SeparationRay Enum value Separation ray shape used by character-style controllers.
WorldBoundary Enum value Infinite world boundary line shape.

Member Details

Capsule

Kind: Enum value

public const Electron2D.PhysicsServer2D.ShapeType Capsule

Summary

Capsule shape.

Remarks

Use this value with APIs that accept ShapeType.

Since

This API is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.PhysicsServer2D.ShapeType

Circle

Kind: Enum value

public const Electron2D.PhysicsServer2D.ShapeType Circle

Summary

Circle shape.

Remarks

Use this value with APIs that accept ShapeType.

Since

This API is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.PhysicsServer2D.ShapeType

ConcavePolygon

Kind: Enum value

public const Electron2D.PhysicsServer2D.ShapeType ConcavePolygon

Summary

Concave polygon shape.

Remarks

Use this value with APIs that accept ShapeType.

Since

This API is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.PhysicsServer2D.ShapeType

ConvexPolygon

Kind: Enum value

public const Electron2D.PhysicsServer2D.ShapeType ConvexPolygon

Summary

Convex polygon shape.

Remarks

Use this value with APIs that accept ShapeType.

Since

This API is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.PhysicsServer2D.ShapeType

Custom

Kind: Enum value

public const Electron2D.PhysicsServer2D.ShapeType Custom

Summary

Reserved custom shape value.

Remarks

Use this value with APIs that accept ShapeType.

Since

This API is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.PhysicsServer2D.ShapeType

Rectangle

Kind: Enum value

public const Electron2D.PhysicsServer2D.ShapeType Rectangle

Summary

Rectangle shape.

Remarks

Use this value with APIs that accept ShapeType.

Since

This API is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.PhysicsServer2D.ShapeType

Segment

Kind: Enum value

public const Electron2D.PhysicsServer2D.ShapeType Segment

Summary

Finite segment shape.

Remarks

Use this value with APIs that accept ShapeType.

Since

This API is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.PhysicsServer2D.ShapeType

SeparationRay

Kind: Enum value

public const Electron2D.PhysicsServer2D.ShapeType SeparationRay

Summary

Separation ray shape used by character-style controllers.

Remarks

Use this value with APIs that accept ShapeType.

Since

This API is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.PhysicsServer2D.ShapeType

WorldBoundary

Kind: Enum value

public const Electron2D.PhysicsServer2D.ShapeType WorldBoundary

Summary

Infinite world boundary line shape.

Remarks

Use this value with APIs that accept ShapeType.

Since

This API is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.PhysicsServer2D.ShapeType

Clone this wiki locally