Scene Transitioner 1.0.0
 
Loading...
Searching...
No Matches
UshiSoft.ST.TransitioSlide Class Reference

スライド More...

Inheritance diagram for UshiSoft.ST.TransitioSlide:
UshiSoft.ST.TransitionBase

Protected Member Functions

override void OnOut (float t)
 ここにトランジションアウト処理を記述する
 
override void OnIn (float t)
 ここにトランジションイン処理を記述する
 
- Protected Member Functions inherited from UshiSoft.ST.TransitionBase
void SetAlpha (float alpha)
 アルファを設定する
 

Private Types

enum  Direction { Top , Right , Bottom , Left }
 方向 More...
 

Private Member Functions

void SetShaderProperties (bool isOut, Direction direction)
 シェーダーのプロパティを設定する
 

Private Attributes

Direction _outDirection
 トランジションアウトのスライド方向。Topなら上からスライドして現れる
 
Direction _inDirection
 トランジションインのスライド方向。Topなら上にスライドして消える
 

Additional Inherited Members

- Public Member Functions inherited from UshiSoft.ST.TransitionBase
void SetTexture (Texture2D texture)
 テクスチャを設定する
 
virtual void Initialize ()
 初期化する
 
void Out (float normalizedTime)
 トランジションアウト
 
void In (float normalizedTime)
 トランジションイン
 
- Protected Attributes inherited from UshiSoft.ST.TransitionBase
RawImage _rawImage
 画面を覆うRawImage
 
RectTransform _rectTransform
 このゲームオブジェクトのRectTransform
 
Material _material
 複製したマテリアル。 シェーダーのプロパティを変更する場合_rawImage.materialではなくこちらを使う
 
- Properties inherited from UshiSoft.ST.TransitionBase
virtual bool IsEnabledCapture [get]
 キャプチャを行うか
 
virtual bool IsEnabledOut [get]
 トランジションアウトを行うか
 
virtual bool IsEnabledIn [get]
 トランジションインを行うか
 

Detailed Description

スライド

Member Enumeration Documentation

◆ Direction

方向

Enumerator
Top 
Right 
Bottom 
Left 

Member Function Documentation

◆ OnIn()

override void UshiSoft.ST.TransitioSlide.OnIn ( float t)
protectedvirtual

ここにトランジションイン処理を記述する

Parameters
tイージングを施したnormalizedTime

Reimplemented from UshiSoft.ST.TransitionBase.

◆ OnOut()

override void UshiSoft.ST.TransitioSlide.OnOut ( float t)
protectedvirtual

ここにトランジションアウト処理を記述する

Parameters
tイージングを施したnormalizedTime

Reimplemented from UshiSoft.ST.TransitionBase.

◆ SetShaderProperties()

void UshiSoft.ST.TransitioSlide.SetShaderProperties ( bool isOut,
Direction direction )
private

シェーダーのプロパティを設定する

Parameters
isOutトランジションアウトか
direction方向

Member Data Documentation

◆ _inDirection

Direction UshiSoft.ST.TransitioSlide._inDirection
private

トランジションインのスライド方向。Topなら上にスライドして消える

◆ _outDirection

Direction UshiSoft.ST.TransitioSlide._outDirection
private

トランジションアウトのスライド方向。Topなら上からスライドして現れる