Table of Contents

Struct b3BodyId

Namespace
Box3D.Native
Assembly
Box3D.NET.Native.dll

References a body instance. Mirror of b3BodyId.

public struct b3BodyId : IEquatable<b3BodyId>

Implements

Inherited Members

Extension Methods

Remarks

Treat this as an opaque handle; the layout is subject to change upstream.

Fields

generation

The generation counter used to detect stale identifiers.

index1

The one-based body index. Zero means null.

world0

The index of the owning world.

Properties

IsNull

Gets a value indicating whether this identifier is null.

Methods

Equals(b3BodyId)

Indicates whether the current object is equal to another object of the same type.

Equals(object?)

Indicates whether this instance and a specified object are equal.

GetHashCode()

Returns the hash code for this instance.

Operators

operator ==(b3BodyId, b3BodyId)

Determines whether two identifiers are equal.

operator !=(b3BodyId, b3BodyId)

Determines whether two identifiers are unequal.