GamePlay
2018-09-29 17:05:03 0 举报
test
作者其他创作
大纲/内容
AController
Pawn
PossessUnpossessHandleCommand
SetTranslationCommand
vehicleWheel
物理属性
InitTickShutdown
UnableToMoveState
const enum state
IThreaten
//威胁物体(un)RegisterToGame
原RenderResouce
set/getComponentInitMeshSetPositionSetPositionDelta
SceneComponent
PlayerState
idenum PlayerTypeTransform
PrimitiveComponent
mesh*
原InsertRenderResrouce
MoveCommand
SkeletalMeshComponent
原CodeDrivenSkinnedBoneRenderResource
AIController//从算法产生命令流
MotionState*//状态机根据算法产生命令
解析相机图像解析网络通信信息调用传感器根据物理仿真更新位置和姿态
StaticObject
StaticMeshComponent*
GameState
TickIntervalDeltaTimequeuevectormatchState
RouteComponent
原_route类
MappingRouteComponent
Vehicle
MotionState多传感器Component
ControllerUpdate
GameManager(singleton)
原gameInterfaceenum PlayingState=UnInitedTimerRenderResourceManagerint TickObjectNum;priority_queueActorList//场景中所有Actor,注册了Tick的放前面vectorNetCommunicationReceiverlistCemeraSpectatorPawn//观众相机指针指向默认相机ComponentplayerController//观众的playerControllerMoveVelocityRateMoveLeftCommandMoveRightCommandMoveForwardCommandMoveBackwardCommandlookUpCommandlookDownCommandlookLeftCommandlookRightCommandqueuehistoryCommandInfo* CurrentHistoty//用于撤销和重做
LoadConfigInitializeprepareTickPauseStoplogin/logouthandleInputbindAxisbindCommandnewActor//分配新的Actor
ActorComponent
bActivebPendingKillbRegisterdbTickableComponentTickFunction*=null全局id
序列化(Un)register//注册到gameManagerTick
StaticMeshComponent
原renderResource
TakeOffState
Actor
vector ComponentsbTickable
CameraComponent
原CCamera
CaptureCameraView//截图
Timer(singleton)
elapsedTime
pauseStop
TravelState
SkeletalMeshSocket
namerelativeTransform
AttachgetTransformGetOwner
CameraComponent*SceneComponent*AControllerPlayerStateclone//根据信息复制新个体
GetControllerTickTakePhoto
Aircraft
MotionState//车、飞机状态机
GenerateCommand
别的传感器Component
LandingState
StaticMeshLodModel
CommandInfo
Command*pawn* targetvec3 axisfloat rate
Executeundo
SetRotationCommand
原RenderResourceManager
接入viwo RenderTree
MotionlessState
SkeletalMeshLodModel
原SkinnedBoneRenderResource
RenderInterface
原RenderNode
StaticMesh
GameSUnit
Render
ReplayGameManager(回放)
加载序列化游戏信息
SkeletalMesh
GameUnit
Camera
CameraComponent* cameraComp;SceneComponent* SceneComp;
ComponentTickFunction//需要Tick的Component通过拥有ComponentTickFunction成员将自己注册到GameManager
bRegisteredenum TickStateTargetcoolDownTimer//间隔时间
ExecuteRegisterToGameSetCoolCown
PlayerController//只用于控制观众相机
BindAxis//将command绑定到键鼠或头显
HandleInput//根据输入产生命令
SpectatorPawn//观众(Singleton)
SceneComponent*PlayerController
PossessCameraComponent(target)
Command//调用Target Component的相应函数
ActorComponent* target
execute//component执行command序列化操作
注:原某某类指的是将viwo中现有的类移植到此处。
0 条评论
下一页