skeldjs
    Preparing search index...

    Class RoomFixedUpdateEvent<RoomType>

    Emitted when the room completes a fixed update cycle. (Roughly 20ms)

    Note that this is called very often, and if the event takes too longer, that is, too long so that the next fixed update is called before it has finished, then it will cascade and eventually crash due to a memory leak.

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    canceled: boolean
    delta: number

    The time that has passed since the last fixed update call, in seconds.

    eventName: "room.fixedupdate" = ...
    room: RoomType

    The room or client that the event came from.

    The game data stream that the room will broadcast.

    eventName: "room.fixedupdate" = ...

    Methods