Public Member Functions | |
void | copyFromSmoothSync (USmoothSync *smoothSyncScript) |
void | copyFromState (SmoothState *state) |
void | defaultTheVariables () |
void | Lerp (SmoothState *targetState, SmoothState *start, SmoothState *end, float t) |
Returns a Lerped state that is between two States in time. More... | |
SmoothState () | |
Default constructor. Does nothing. More... | |
SmoothState (SmoothState &state) | |
SmoothState (SmoothState *state) | |
SmoothState (USmoothSync &smoothSyncScript) | |
SmoothState (USmoothSync *smoothSyncScript) | |
~SmoothState () | |
Deconstructor. | |
Public Attributes | |
FVector | angularVelocity |
The angularVelocity of the owned object when the state was sent. More... | |
bool | atPositionalRest |
bool | atRotationalRest |
float | ownerTimestamp |
The network timestamp of the owner when the state was sent. More... | |
FVector | position |
The position of the owned object when the state was sent. More... | |
FQuat | rotation |
The rotation of the owned object when the state was sent. More... | |
FVector | scale |
The scale of the owned object when the state was sent. More... | |
bool | teleport |
FVector | velocity |
The velocity of the owned object when the state was sent. More... | |
SmoothState::SmoothState | ( | ) |
Default constructor. Does nothing.
void SmoothState::Lerp | ( | SmoothState * | targetState, |
SmoothState * | start, | ||
SmoothState * | end, | ||
float | t | ||
) |
Returns a Lerped state that is between two States in time.
FVector SmoothState::angularVelocity |
The angularVelocity of the owned object when the state was sent.
float SmoothState::ownerTimestamp |
The network timestamp of the owner when the state was sent.
FVector SmoothState::position |
The position of the owned object when the state was sent.
FQuat SmoothState::rotation |
The rotation of the owned object when the state was sent.
FVector SmoothState::scale |
The scale of the owned object when the state was sent.
FVector SmoothState::velocity |
The velocity of the owned object when the state was sent.