unscrtex.h
来自「虚幻的再开发程序包源代码」· C头文件 代码 · 共 50 行
H
50 行
/*=============================================================================
UnScrTex.h: Unreal scripted texture class
Copyright 1997-1999 Epic Games, Inc. All Rights Reserved.
Revision history:
* Created by Jack Porter
=============================================================================*/
class ENGINE_API UScriptedTexture : public UTexture
{
DECLARE_CLASS(UScriptedTexture,UTexture,0)
// Constructors. Executed on both instantation and reloading of an object.
UScriptedTexture();
// UObject interface.
void PostLoad();
void PostEditChange() {PostLoad();}
void Destroy();
// UTexture interface.
void Init( INT InUSize, INT InVSize );
void Tick(FLOAT DeltaSeconds);
// Variables.
AActor* NotifyActor;
UTexture* SourceTexture;
// UScriptedTexture Interface.
void DrawTile( FLOAT X, FLOAT Y, FLOAT XL, FLOAT YL, FLOAT U, FLOAT V, FLOAT UL, FLOAT VL, UTexture *Tex, FTextureInfo *Info, UBOOL bMasked, UBOOL bUseColor=0, BYTE ColorIndex=0 );
// Natives.
DECLARE_FUNCTION(execDrawText)
DECLARE_FUNCTION(execDrawTile)
DECLARE_FUNCTION(execDrawColoredText)
DECLARE_FUNCTION(execReplaceTexture)
private:
UTexture* OldSourceTex;
BYTE* LocalSourceBitmap;
TMap< UTexture*, TArray< BYTE > >* PaletteMap;
FLOAT LocalTime;
};
/*-----------------------------------------------------------------------------
The End.
-----------------------------------------------------------------------------*/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?