Rise
The Vieneo Province
Loading...
Searching...
No Matches
WindshieldWipers::Motion Struct Reference

#include <WindshieldWipers.h>

Public Member Functions

void Update (float elapsed, bool enabled, bool powered=true)

Public Attributes

float phase = 0.f
bool moving = false

Static Public Attributes

static constexpr float rate = 1.2f

Detailed Description

Definition at line 30 of file WindshieldWipers.h.

Member Function Documentation

◆ Update()

void WindshieldWipers::Motion::Update ( float elapsed,
bool enabled,
bool powered = true )
inline

Definition at line 36 of file WindshieldWipers.h.

Here is the caller graph for this function:

Member Data Documentation

◆ moving

bool WindshieldWipers::Motion::moving = false

Definition at line 34 of file WindshieldWipers.h.

◆ phase

float WindshieldWipers::Motion::phase = 0.f

Definition at line 32 of file WindshieldWipers.h.

◆ rate

float WindshieldWipers::Motion::rate = 1.2f
staticconstexpr

Definition at line 33 of file WindshieldWipers.h.


The documentation for this struct was generated from the following file: