Table of Contents

Struct BepuSimulation.TickAwaiter

Namespace
Stride.BepuPhysics
Assembly
Stride.BepuPhysics.dll

Await this struct to continue during a physics tick

public struct BepuSimulation.TickAwaiter : INotifyCompletion
Implements
Inherited Members

Properties

IsCompleted

public bool IsCompleted { get; }

Property Value

bool

Methods

GetAwaiter()

public BepuSimulation.TickAwaiter GetAwaiter()

Returns

BepuSimulation.TickAwaiter

GetResult()

public void GetResult()

OnCompleted(Action)

Schedules the continuation action that's invoked when the instance completes.

public void OnCompleted(Action continuation)

Parameters

continuation Action

The action to invoke when the operation completes.

Exceptions

ArgumentNullException

The continuation argument is null (Nothing in Visual Basic).