载入中...
搜索中...
未找到
eve::combat::FpsGaitProfile结构体 参考

Tunable speeds and capsule/eye heights for one FPS body. 更多...

#include <FpsGait.h>

Public 成员函数

Result< void > validate () const
 Reject non-finite or non-positive sizes/speeds.
 

Public 属性

double walkSpeed = 5.5
 
double sprintSpeed = 8.5
 
double crouchSpeed = 2.8
 
double standHeight = 1.80
 
double crouchHeight = 1.10
 
double standEyeHeight = 1.65
 
double crouchEyeHeight = 0.95
 
double capsuleRadius = 0.30
 

详细描述

Tunable speeds and capsule/eye heights for one FPS body.

在文件 FpsGait.h 第 16 行定义.

成员函数说明

◆ validate()

Result< void > eve::combat::FpsGaitProfile::validate ( ) const

类成员变量说明

◆ capsuleRadius

double eve::combat::FpsGaitProfile::capsuleRadius = 0.30

在文件 FpsGait.h 第 24 行定义.

被这些函数引用 eve::combat::FpsGait::evaluate() , 以及 validate().

◆ crouchEyeHeight

double eve::combat::FpsGaitProfile::crouchEyeHeight = 0.95

在文件 FpsGait.h 第 23 行定义.

被这些函数引用 eve::combat::FpsGait::evaluate() , 以及 validate().

◆ crouchHeight

double eve::combat::FpsGaitProfile::crouchHeight = 1.10

在文件 FpsGait.h 第 21 行定义.

被这些函数引用 eve::combat::FpsGait::evaluate() , 以及 validate().

◆ crouchSpeed

double eve::combat::FpsGaitProfile::crouchSpeed = 2.8

在文件 FpsGait.h 第 19 行定义.

被这些函数引用 eve::combat::FpsGait::evaluate() , 以及 validate().

◆ sprintSpeed

double eve::combat::FpsGaitProfile::sprintSpeed = 8.5

在文件 FpsGait.h 第 18 行定义.

被这些函数引用 eve::combat::FpsGait::evaluate() , 以及 validate().

◆ standEyeHeight

double eve::combat::FpsGaitProfile::standEyeHeight = 1.65

在文件 FpsGait.h 第 22 行定义.

被这些函数引用 eve::combat::FpsGait::evaluate() , 以及 validate().

◆ standHeight

double eve::combat::FpsGaitProfile::standHeight = 1.80

在文件 FpsGait.h 第 20 行定义.

被这些函数引用 eve::combat::FpsGait::evaluate() , 以及 validate().

◆ walkSpeed

double eve::combat::FpsGaitProfile::walkSpeed = 5.5

在文件 FpsGait.h 第 17 行定义.

被这些函数引用 eve::combat::FpsGait::evaluate() , 以及 validate().


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