UE4C++
记录我的UE4C++学习过程,同时帮助大家
修心_666
游戏热爱者,个人主页:https://xiuxin-666.gitee.io/
展开
-
UE4 C++ 设置模型与材质的默认值
UE4 C++ 设置模型与材质的默认值 MyPawn.h // Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "GameFramework/Pawn.h" #include "Components/StaticMeshComponent.h" #include "Camera/CameraComponent原创 2020-11-05 13:06:23 · 1153 阅读 · 0 评论 -
UE4C++ SpringArm组件的创建
UE4C++ SpringArm组件的创建 MyPawn.h // Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "GameFramework/Pawn.h" #include "Components/StaticMeshComponent.h" #include "Camera/CameraCompone原创 2020-11-05 12:44:57 · 1525 阅读 · 0 评论 -
UE4C++ APawn类,添加轴映射,使能够控制APawn移动
APawn类,添加轴映射,使能够控制APawn移动 MyPawn.h // Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "GameFramework/Pawn.h" #include "Components/StaticMeshComponent.h" #include "Camera/CameraCom原创 2020-11-04 13:33:30 · 672 阅读 · 0 评论 -
UE4C++ APawn类的创建
创建一个APawn类,添加根组件和StaticMeshComponennt,并将StaticMeshComponent附着到根组件上,并添加相机 MyPawn.h // Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "GameFramework/Pawn.h" #include "Components/St原创 2020-11-04 12:34:13 · 651 阅读 · 0 评论 -
UE4C++ AActor类的创建
创建一个带StaticMeshComponent的AActor类 MyActor.h // Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "GameFramework/Actor.h" #include "MyActor.generated.h" UCLASS() //因为Actor父类就已经是blue原创 2020-11-04 12:29:21 · 963 阅读 · 0 评论 -
UE4C++ Uobject的创建
MyObject.h // Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "UObject/NoExportTypes.h" #include "MyObject.generated.h" /** * */ UCLASS(Blueprintable) //可生成蓝图的 class FIRSTDEMO原创 2020-11-04 12:28:36 · 1721 阅读 · 0 评论