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

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

Field Value
Full name Electron2D.Rid
Namespace Electron2D
Kind struct
Category Core

Overview

Represents the rid value type.

Syntax

public struct Electron2D.Rid : System.IComparable<Electron2D.Rid>, System.IEquatable<Electron2D.Rid>

Godot 4.7 C# profile compatibility

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

Opaque resource identifier baseline with invalid ID 0, equality, hashing and ordering.

Remarks

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

Thread Safety

Instances of this type are not synchronized. Access them from the thread that owns the object unless the member documentation states otherwise.

Since

This API is available since Electron2D 0.1.0 Preview.

Members

Member Kind Summary
CompareTo(Electron2D.Rid) Method Executes the compare to operation.
Equals(Electron2D.Rid) Method Executes the equals operation.
Equals(System.Object) Method Executes the equals operation.
GetHashCode() Method Gets the hash code value.
GetId() Method Gets the id value.
IsValid() Method Checks whether valid is true.
ToString() Method Executes the to string operation.
op_Equality(Electron2D.Rid, Electron2D.Rid) Method Applies the == operator.
op_GreaterThan(Electron2D.Rid, Electron2D.Rid) Method Applies the &gt; operator.
op_GreaterThanOrEqual(Electron2D.Rid, Electron2D.Rid) Method Applies the &gt;= operator.
op_Inequality(Electron2D.Rid, Electron2D.Rid) Method Applies the != operator.
op_LessThan(Electron2D.Rid, Electron2D.Rid) Method Applies the &lt; operator.
op_LessThanOrEqual(Electron2D.Rid, Electron2D.Rid) Method Applies the &lt;= operator.

Member Details

CompareTo(Electron2D.Rid)

Kind: Method

public System.Int32 CompareTo(Electron2D.Rid)(Electron2D.Rid other)

Summary

Executes the compare to operation.

Remarks

This method follows the validation and lifetime rules of its declaring type.

Parameters

  • other: The other value.

Returns

The result of the operation.

Thread Safety

This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.

Since

This API is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.Rid

Equals(Electron2D.Rid)

Kind: Method

public System.Boolean Equals(Electron2D.Rid)(Electron2D.Rid other)

Summary

Executes the equals operation.

Remarks

This method follows the validation and lifetime rules of its declaring type.

Parameters

  • other: The other value.

Returns

The result of the operation.

Thread Safety

This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.

Since

This API is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.Rid

Equals(System.Object)

Kind: Method

public System.Boolean Equals(System.Object)(System.Object obj)

Summary

Executes the equals operation.

Remarks

This method follows the validation and lifetime rules of its declaring type.

Parameters

  • obj: The obj value.

Returns

The result of the operation.

Thread Safety

This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.

Since

This API is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.Rid

GetHashCode()

Kind: Method

public System.Int32 GetHashCode()()

Summary

Gets the hash code value.

Remarks

This method follows the validation and lifetime rules of its declaring type.

Returns

The current hash code value.

Thread Safety

This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.

Since

This API is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.Rid

GetId()

Kind: Method

public System.Int64 GetId()()

Summary

Gets the id value.

Remarks

This method follows the validation and lifetime rules of its declaring type.

Returns

The current id value.

Thread Safety

This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.

Since

This API is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.Rid

IsValid()

Kind: Method

public System.Boolean IsValid()()

Summary

Checks whether valid is true.

Remarks

This method follows the validation and lifetime rules of its declaring type.

Returns

true when the condition is met; otherwise, false.

Thread Safety

This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.

Since

This API is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.Rid

ToString()

Kind: Method

public System.String ToString()()

Summary

Executes the to string operation.

Remarks

This method follows the validation and lifetime rules of its declaring type.

Returns

The result of the operation.

Thread Safety

This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.

Since

This API is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.Rid

op_Equality(Electron2D.Rid, Electron2D.Rid)

Kind: Method

public static System.Boolean op_Equality(Electron2D.Rid, Electron2D.Rid)(Electron2D.Rid left, Electron2D.Rid right)

Summary

Applies the == operator.

Remarks

This operator returns a value derived from the supplied operands.

Parameters

  • left: The left value.
  • right: The right value.

Returns

The result of the operator.

Thread Safety

This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.

Since

This API is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.Rid

op_GreaterThan(Electron2D.Rid, Electron2D.Rid)

Kind: Method

public static System.Boolean op_GreaterThan(Electron2D.Rid, Electron2D.Rid)(Electron2D.Rid left, Electron2D.Rid right)

Summary

Applies the &gt; operator.

Remarks

This operator returns a value derived from the supplied operands.

Parameters

  • left: The left value.
  • right: The right value.

Returns

The result of the operator.

Thread Safety

This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.

Since

This API is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.Rid

op_GreaterThanOrEqual(Electron2D.Rid, Electron2D.Rid)

Kind: Method

public static System.Boolean op_GreaterThanOrEqual(Electron2D.Rid, Electron2D.Rid)(Electron2D.Rid left, Electron2D.Rid right)

Summary

Applies the &gt;= operator.

Remarks

This operator returns a value derived from the supplied operands.

Parameters

  • left: The left value.
  • right: The right value.

Returns

The result of the operator.

Thread Safety

This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.

Since

This API is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.Rid

op_Inequality(Electron2D.Rid, Electron2D.Rid)

Kind: Method

public static System.Boolean op_Inequality(Electron2D.Rid, Electron2D.Rid)(Electron2D.Rid left, Electron2D.Rid right)

Summary

Applies the != operator.

Remarks

This operator returns a value derived from the supplied operands.

Parameters

  • left: The left value.
  • right: The right value.

Returns

The result of the operator.

Thread Safety

This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.

Since

This API is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.Rid

op_LessThan(Electron2D.Rid, Electron2D.Rid)

Kind: Method

public static System.Boolean op_LessThan(Electron2D.Rid, Electron2D.Rid)(Electron2D.Rid left, Electron2D.Rid right)

Summary

Applies the &lt; operator.

Remarks

This operator returns a value derived from the supplied operands.

Parameters

  • left: The left value.
  • right: The right value.

Returns

The result of the operator.

Thread Safety

This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.

Since

This API is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.Rid

op_LessThanOrEqual(Electron2D.Rid, Electron2D.Rid)

Kind: Method

public static System.Boolean op_LessThanOrEqual(Electron2D.Rid, Electron2D.Rid)(Electron2D.Rid left, Electron2D.Rid right)

Summary

Applies the &lt;= operator.

Remarks

This operator returns a value derived from the supplied operands.

Parameters

  • left: The left value.
  • right: The right value.

Returns

The result of the operator.

Thread Safety

This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.

Since

This API is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.Rid

Clone this wiki locally