#include <MoveSplineInit.h>
|
| | MoveSplineInit (Unit *m) |
| |
| | ~MoveSplineInit () |
| |
| | MoveSplineInit (MoveSplineInit const &)=delete |
| |
| MoveSplineInit & | operator= (MoveSplineInit const &)=delete |
| |
| | MoveSplineInit (MoveSplineInit &&init)=delete |
| |
| MoveSplineInit & | operator= (MoveSplineInit &&)=delete |
| |
| int32 | Launch () |
| |
| void | Stop () |
| |
| void | SetParabolic (float amplitude, int32 start_point) |
| |
| void | SetAnimation (AnimTier anim, uint32 tierTransitionId=0, int32 transitionStartPoint=0) |
| |
| void | SetFadeObject (Milliseconds fadeDuration=1s) |
| |
| void | SetFacing (float angle) |
| |
| void | SetFacing (Vector3 const &spot) |
| |
| void | SetFacing (float x, float y, float z) |
| |
| void | SetFacing (Unit const *target) |
| |
| void | MovebyPath (std::span< Vector3 const > path, int32 pointId=0) |
| |
| void | MoveTo (Vector3 const &destination, bool generatePath=true, bool forceDestination=false) |
| |
| void | MoveTo (float x, float y, float z, bool generatePath=true, bool forceDestination=false) |
| |
| void | SetFirstPointId (int32 pointId) |
| |
| void | SetSmooth () |
| |
| void | SetUncompressed () |
| |
| void | SetFly () |
| |
| void | SetWalk (bool enable) |
| |
| void | SetCyclic () |
| |
| void | SetFall () |
| |
| void | SetTransportEnter () |
| |
| void | SetTransportExit () |
| |
| void | SetBackward () |
| |
| void | SetOrientationFixed (bool enable) |
| |
| void | SetJumpOrientationFixed (bool enable) |
| |
| void | SetSteering () |
| |
| void | SetUnlimitedSpeed () |
| |
| void | SetVelocity (float velocity) |
| |
| void | SetSpellEffectExtraData (SpellEffectExtraData const &spellEffectExtraData) |
| |
| void | SetTurning (float startFacing, float totalTurnRads, float radsPerSec) |
| |
| PointsArray & | Path () |
| |
| void | DisableTransportPathTransformations () |
| |
Definition at line 36 of file MoveSplineInit.h.
◆ MoveSplineInit() [1/3]
| Movement::MoveSplineInit::MoveSplineInit |
( |
Unit * |
m | ) |
|
|
explicit |
◆ ~MoveSplineInit()
| Movement::MoveSplineInit::~MoveSplineInit |
( |
| ) |
|
|
default |
◆ MoveSplineInit() [2/3]
◆ MoveSplineInit() [3/3]
◆ DisableTransportPathTransformations()
| void Movement::MoveSplineInit::DisableTransportPathTransformations |
( |
| ) |
|
|
inline |
◆ Launch()
| int32 Movement::MoveSplineInit::Launch |
( |
| ) |
|
◆ MovebyPath()
| void Movement::MoveSplineInit::MovebyPath |
( |
std::span< Vector3 const > |
path, |
|
|
int32 |
pointId = 0 |
|
) |
| |
◆ MoveTo() [1/2]
| void Movement::MoveSplineInit::MoveTo |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z, |
|
|
bool |
generatePath = true, |
|
|
bool |
forceDestination = false |
|
) |
| |
◆ MoveTo() [2/2]
| void Movement::MoveSplineInit::MoveTo |
( |
Vector3 const & |
destination, |
|
|
bool |
generatePath = true, |
|
|
bool |
forceDestination = false |
|
) |
| |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ Path()
◆ SetAnimation()
| void Movement::MoveSplineInit::SetAnimation |
( |
AnimTier |
anim, |
|
|
uint32 |
tierTransitionId = 0, |
|
|
int32 |
transitionStartPoint = 0 |
|
) |
| |
|
inline |
◆ SetBackward()
| void Movement::MoveSplineInit::SetBackward |
( |
| ) |
|
|
inline |
◆ SetCyclic()
| void Movement::MoveSplineInit::SetCyclic |
( |
| ) |
|
|
inline |
◆ SetFacing() [1/4]
| void Movement::MoveSplineInit::SetFacing |
( |
float |
angle | ) |
|
◆ SetFacing() [2/4]
| void Movement::MoveSplineInit::SetFacing |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
◆ SetFacing() [3/4]
| void Movement::MoveSplineInit::SetFacing |
( |
Unit const * |
target | ) |
|
◆ SetFacing() [4/4]
| void Movement::MoveSplineInit::SetFacing |
( |
Vector3 const & |
spot | ) |
|
◆ SetFadeObject()
| void Movement::MoveSplineInit::SetFadeObject |
( |
Milliseconds |
fadeDuration = 1s | ) |
|
|
inline |
◆ SetFall()
| void Movement::MoveSplineInit::SetFall |
( |
| ) |
|
◆ SetFirstPointId()
| void Movement::MoveSplineInit::SetFirstPointId |
( |
int32 |
pointId | ) |
|
|
inline |
◆ SetFly()
| void Movement::MoveSplineInit::SetFly |
( |
| ) |
|
|
inline |
◆ SetJumpOrientationFixed()
| void Movement::MoveSplineInit::SetJumpOrientationFixed |
( |
bool |
enable | ) |
|
|
inline |
◆ SetOrientationFixed()
| void Movement::MoveSplineInit::SetOrientationFixed |
( |
bool |
enable | ) |
|
|
inline |
◆ SetParabolic()
| void Movement::MoveSplineInit::SetParabolic |
( |
float |
amplitude, |
|
|
int32 |
start_point |
|
) |
| |
|
inline |
Adds movement by parabolic trajectory
- Parameters
-
| amplitude | the maximum height of parabola, value could be negative and positive |
| start_point | point index on the path where parabolic movement starts can't be combined with final animation or fade object |
Definition at line 188 of file MoveSplineInit.h.
◆ SetSmooth()
| void Movement::MoveSplineInit::SetSmooth |
( |
| ) |
|
|
inline |
◆ SetSpellEffectExtraData()
| void Movement::MoveSplineInit::SetSpellEffectExtraData |
( |
SpellEffectExtraData const & |
spellEffectExtraData | ) |
|
|
inline |
◆ SetSteering()
| void Movement::MoveSplineInit::SetSteering |
( |
| ) |
|
|
inline |
◆ SetTransportEnter()
| void Movement::MoveSplineInit::SetTransportEnter |
( |
| ) |
|
|
inline |
◆ SetTransportExit()
| void Movement::MoveSplineInit::SetTransportExit |
( |
| ) |
|
|
inline |
◆ SetTurning()
| void Movement::MoveSplineInit::SetTurning |
( |
float |
startFacing, |
|
|
float |
totalTurnRads, |
|
|
float |
radsPerSec |
|
) |
| |
|
inline |
◆ SetUncompressed()
| void Movement::MoveSplineInit::SetUncompressed |
( |
| ) |
|
|
inline |
◆ SetUnlimitedSpeed()
| void Movement::MoveSplineInit::SetUnlimitedSpeed |
( |
| ) |
|
|
inline |
◆ SetVelocity()
| void Movement::MoveSplineInit::SetVelocity |
( |
float |
velocity | ) |
|
|
inline |
◆ SetWalk()
| void Movement::MoveSplineInit::SetWalk |
( |
bool |
enable | ) |
|
|
inline |
◆ Stop()
| void Movement::MoveSplineInit::Stop |
( |
| ) |
|
◆ args
◆ unit
| Unit* Movement::MoveSplineInit::unit |
|
protected |
The documentation for this class was generated from the following files: