Logo
Public Member Functions | Properties | List of all members
Yukar.Engine.TelopPosition Class Reference

Marquee class for scrolling when the width of the description field string is not enough More...

Public Member Functions

 TelopPosition (float velocity, float waitTime, float telopFrameWidth, string telopText, float telopTextScale, TextDrawer textDrawer)
 
 TelopPosition (Vector2 velocity, float waitTime, Vector2 telopFrameSize, string telopText, float telopTextScale, TextDrawer textDrawer, TextDrawer.HorizontalAlignment horizontalAlignment, TextDrawer.VerticalAlignment verticalAlignment)
 
Vector2 GetPositionConsiderHorizontalAlignment ()
 
void SetTelopParameter (float velocity, float waitTime, float telopFrameWidth, string telopText, float telopTextScale, TextDrawer textDrawer)
 
void SetTelopParameter (Vector2 velocity, float waitTime, Vector2 telopFrameSize, string telopText, float telopTextScale, TextDrawer textDrawer, TextDrawer.HorizontalAlignment horizontalAlignment)
 
void Update (float elapsedTime)
 
void UpdateTelopText (float elapsedTime)
 

Properties

Vector2 Position [get]
 

Detailed Description

Marquee class for scrolling when the width of the description field string is not enough

Constructor & Destructor Documentation

◆ TelopPosition() [1/2]

Yukar.Engine.TelopPosition.TelopPosition ( float  velocity,
float  waitTime,
float  telopFrameWidth,
string  telopText,
float  telopTextScale,
TextDrawer  textDrawer 
)

◆ TelopPosition() [2/2]

Yukar.Engine.TelopPosition.TelopPosition ( Vector2  velocity,
float  waitTime,
Vector2  telopFrameSize,
string  telopText,
float  telopTextScale,
TextDrawer  textDrawer,
TextDrawer.HorizontalAlignment  horizontalAlignment,
TextDrawer.VerticalAlignment  verticalAlignment 
)

Member Function Documentation

◆ GetPositionConsiderHorizontalAlignment()

Vector2 Yukar.Engine.TelopPosition.GetPositionConsiderHorizontalAlignment ( )

◆ SetTelopParameter() [1/2]

void Yukar.Engine.TelopPosition.SetTelopParameter ( float  velocity,
float  waitTime,
float  telopFrameWidth,
string  telopText,
float  telopTextScale,
TextDrawer  textDrawer 
)

◆ SetTelopParameter() [2/2]

void Yukar.Engine.TelopPosition.SetTelopParameter ( Vector2  velocity,
float  waitTime,
Vector2  telopFrameSize,
string  telopText,
float  telopTextScale,
TextDrawer  textDrawer,
TextDrawer.HorizontalAlignment  horizontalAlignment 
)

◆ Update()

void Yukar.Engine.TelopPosition.Update ( float  elapsedTime)

◆ UpdateTelopText()

void Yukar.Engine.TelopPosition.UpdateTelopText ( float  elapsedTime)

Property Documentation

◆ Position

Vector2 Yukar.Engine.TelopPosition.Position
get