自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 资源 (2)
  • 收藏
  • 关注

原创 childactor movable

2018-09-27 15:41:14 270

转载 Timer Actor

For this tutorial we are using the standard first person C++ template with starter content. If you don't know how to add a new actor class to your project, please visit the Add C++ Actor Class post....

2018-09-27 15:01:43 269

转载 保存hbitmap到文件

void SaveBitmapToFile(HBITMAP hBitmap, char* szfilename){ HDC hdc; //设备描述表 int ibits; WORD wbitcount; //当前显示分辨率下每个像素所占字节数 //位图中每个像素所占字节数,定义调色板大小,位图中像素字节大小,位图文件大小 ,写入文件字节数 DWORD dwpalette...

2018-09-26 16:17:05 2173 1

原创 tick代理的使用

UCLASS()class VCTEST_API AMyActor2 : public AActor{ GENERATED_BODY() public: // Sets default values for this actor's properties AMyActor2();protected: // Called when the game starts or whe...

2018-09-19 14:56:50 455

原创 UE接收windows消息

// Fill out your copyright notice in the Description page of Project Settings.#pragma once#include "Runtime/ApplicationCore/Public/Windows/WindowsApplication.h"#include "Runtime/Slate/Public/Fram...

2018-09-19 10:59:36 825

原创 读取摄像机像素

UCLASS()class LHCVCTEST_API UMyGameViewportClient : public UGameViewportClient{ GENERATED_BODY() protected: void TakeScreenShot(); virtual void Draw(FViewport* Viewport, FCanvas* SceneCanvas)...

2018-09-12 17:49:48 484

原创 读取RenderTarget像素

FTextureRenderTargetResource* RTResource = m_textureRenderTarget->GameThread_GetRenderTargetResource(); int width = m_textureRenderTarget->GetSurfaceWidth(); int height = m_textureRenderTarg...

2018-09-12 16:47:05 2122

转载 Reading the pixels from a UTexture2D

Reading the pixels from a UTexture2D is not particularly difficult, indeed this post on Unreal AnswerHub resume almost perfectly how to do it. However, there are some points missing and one could go i...

2018-09-12 15:48:10 433 1

原创 读取UTexture2D的像素值

void AMyRenderTarget::setMyRenderTarget(UTextureRenderTarget2D* textureRenderTarget){ m_textureRenderTarget = textureRenderTarget; m_Texture = textureRenderTarget->ConstructTexture2D(this, FStr...

2018-09-12 15:45:47 3071 2

转载 【OpenGL】详解第一个OpenGL程序

写在前面 OpenGL能做的事情太多了!很多程序也看起来很复杂。很多人感觉OpenGL晦涩难懂,原因大多是被OpenGL里面各种语句搞得头大,一会gen一下,一会bind一下,一会又active一下。搞到最后都不知道自己在干嘛,更有可能因为某一步的顺序错误导致最后渲染出错,又或者觉得记下这些操作的顺序是非常烦人的一件事。那么,OpenGL为什么会长成这个样子呢?这篇文章旨在通过一个最简单的...

2018-09-07 14:22:21 271

转载 OpenGL 4.0 Tutorials 第三章:初始化 OpenGL 4.0

原文地址: http://www.rastertek.com/gl40tut03.html Tutorial 3: Initializing OpenGL 4.0第三章:初始化 OpenGL 4.0 This tutorial will be the first real introduction to working with OpenGL 4.0. We will ...

2018-09-07 11:30:54 588

ucGUI学习笔记 -- 仿真器

ucGUI学习笔记 -- 仿真器 原创

2012-06-14

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除