![]() |
|
MapCharacterを指定に従って自動的に動かすためのクラス [詳解]
Yukar.Engine.MapCharacterMoveMacro.SimpleXZTweener, Yukar.Engine.MapCharacterMoveMacro.XZTweener, Yukar.Engine.MapCharacterMoveMacro.YTweenerに継承されています。
クラス |
|
class | SimpleXZTweener |
高さを合わせない(物理を当てにしない)タイプのXZ移動Tweener
|
|
class | XZTweener |
座標を補間しながら目的のXZ座標までキャラクターを移動させるクラス
|
|
class | YTweener |
補間しながらキャラクターの高さを移動させるクラス
|
|
公開型 |
|
enum | UsingEasingFunction { Linear = 0 , EaseIn = 1 , EaseOut = 2 } |
使用するイージング関数の種類
[詳解]
|
|
静的公開メンバ関数 |
|
static ushort | GetMixedMask (MapCharacter chr) |
障害物チェック用のマスクを生成する
[詳解]
|
|
static MapCharacterMoveMacro | addYTweener (MapCharacter character, float time, float startY, float targetY, UsingEasingFunction easingMethod, bool toGround, bool checkCollision) |
static MapCharacterMoveMacro | addSimpleXZTweener (MapCharacter chr, int dir, float speed, Action finishHandler=null) |
static MapCharacterMoveMacro | addXZTweener (MapCharacter chr, int dir, bool shouldKeepMotion, bool fixDir, MapData drawer) |
static MapCharacterMoveMacro | addXZTweener (MapCharacter chr, float x, float y, MapData drawer) |
static MapCharacterMoveMacro | addXZTweener (MapCharacter self, MapCharacter chr, int dir, bool fixDir, bool abortOnFail, bool through, bool ignoreHeight, bool shouldKeepMotion, float targetDirRad, float totalWalk, bool interpolate, float startDirRad, bool fourDir) |
MapCharacterを指定に従って自動的に動かすためのクラス
|
static |
障害物チェック用のマスクを生成する
chr |