Table of Contents

Struct b3ShapeId

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

References a shape instance. Mirror of b3ShapeId.

public struct b3ShapeId : IEquatable<b3ShapeId>

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 shape index. Zero means null.

world0

The index of the owning world.

Properties

IsNull

Gets a value indicating whether this identifier is null.

Methods

Equals(b3ShapeId)

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 ==(b3ShapeId, b3ShapeId)

Determines whether two identifiers are equal.

operator !=(b3ShapeId, b3ShapeId)

Determines whether two identifiers are unequal.