Etterna 0.74.4
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ScrollSegment Struct Reference

Identifies when the chart scroll changes. More...

#include <TimingSegments.h>

Inheritance diagram for ScrollSegment:
Inheritance graph
[legend]
Collaboration diagram for ScrollSegment:
Collaboration graph
[legend]

Public Member Functions

auto GetType () const -> TimingSegmentType override
 
auto GetEffectType () const -> SegmentEffectType override
 
auto IsNotable () const -> bool override
 
void DebugPrint () const override
 
auto Copy () const -> TimingSegment *override
 
 ScrollSegment (int iStartRow=ROW_INVALID, float fRatio=1.0F)
 
 ScrollSegment (const ScrollSegment &other)
 
auto GetRatio () const -> float
 
void SetRatio (float fRatio)
 
auto ToString (int dec) const -> std::string override
 
auto GetValues () const -> std::vector< float > override
 
auto operator== (const ScrollSegment &other) const -> bool
 
auto operator== (const TimingSegment &other) const -> bool override
 
- Public Member Functions inherited from TimingSegment
 TimingSegment (int iRow=ROW_INVALID)
 
 TimingSegment (float fBeat)
 
 TimingSegment (const TimingSegment &other)
 
virtual void Scale (int start, int length, int newLength)
 Scales itself.
 
auto GetRow () const -> int
 
void SetRow (int iRow)
 
auto GetBeat () const -> float
 
void SetBeat (float fBeat)
 
auto operator< (const TimingSegment &other) const -> bool
 
virtual auto operator!= (const TimingSegment &other) const -> bool
 

Additional Inherited Members

- Static Public Attributes inherited from TimingSegment
static const double EPSILON = 1e-6
 

Detailed Description

Identifies when the chart scroll changes.

ScrollSegments adjusts the scrolling speed of the note field. Unlike forced attacks, these cannot be turned off at a set time: reset it by setting the precentage back to 1.

These were inspired by the Pump It Up series.

Member Function Documentation

◆ Copy()

auto ScrollSegment::Copy ( ) const -> TimingSegment*
inlineoverridevirtual

Implements TimingSegment.

◆ DebugPrint()

void ScrollSegment::DebugPrint ( ) const
overridevirtual

Reimplemented from TimingSegment.

◆ GetEffectType()

auto ScrollSegment::GetEffectType ( ) const -> SegmentEffectType
inlineoverridevirtual

Reimplemented from TimingSegment.

◆ GetType()

auto ScrollSegment::GetType ( ) const -> TimingSegmentType
inlineoverridevirtual

Reimplemented from TimingSegment.

◆ GetValues()

auto ScrollSegment::GetValues ( ) const -> std::vector<float>
inlineoverridevirtual

Reimplemented from TimingSegment.

◆ IsNotable()

auto ScrollSegment::IsNotable ( ) const -> bool
inlineoverridevirtual

Implements TimingSegment.

◆ operator==()

auto ScrollSegment::operator== ( const TimingSegment other) const -> bool
inlineoverridevirtual

Reimplemented from TimingSegment.

◆ ToString()

std::string ScrollSegment::ToString ( int  dec) const -> std::string
overridevirtual

Reimplemented from TimingSegment.


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