engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 所有成员列表
FBasedMovementInfo结构体 参考

Struct to hold information about the "base" object the character is standing on. 更多...

#include <Character.h>

Public 成员函数

FORCEINLINE bool HasRelativeLocation () const
 Is location relative?
 
FORCEINLINE bool HasRelativeRotation () const
 Is rotation relative or absolute? It can only be relative if location is also relative.
 
FORCEINLINE bool IsBaseUnresolved () const
 Return true if the client should have MovementBase, but it hasn't replicated (possibly component has not streamed in).
 

Public 属性

FName BoneName
 Bone name on component, for skeletal meshes. 更多...
 
bool bRelativeRotation
 Whether rotation is relative to the base or absolute. 更多...
 
bool bServerHasBaseComponent
 Whether the server says that there is a base. 更多...
 
bool bServerHasVelocity
 Whether there is a velocity on the server. 更多...
 
FVector_NetQuantize100 Location
 Location relative to MovementBase. 更多...
 
UPrimitiveComponent * MovementBase
 Component we are based on
 
FRotator Rotation
 Rotation: relative to MovementBase if HasRelativeRotation() is true, absolute otherwise.
 

详细描述

Struct to hold information about the "base" object the character is standing on.

类成员变量说明

◆ BoneName

FName FBasedMovementInfo::BoneName

Bone name on component, for skeletal meshes.

NAME_None if not a skeletal mesh or if bone is invalid.

◆ bRelativeRotation

bool FBasedMovementInfo::bRelativeRotation

Whether rotation is relative to the base or absolute.

It can only be relative if location is also relative.

◆ bServerHasBaseComponent

bool FBasedMovementInfo::bServerHasBaseComponent

Whether the server says that there is a base.

On clients, the component may not have resolved yet.

◆ bServerHasVelocity

bool FBasedMovementInfo::bServerHasVelocity

Whether there is a velocity on the server.

Used for forcing replication when velocity goes to zero.

◆ Location

FVector_NetQuantize100 FBasedMovementInfo::Location

Location relative to MovementBase.

Only valid if HasRelativeLocation() is true.


该结构体的文档由以下文件生成: