1
0
KF2-Dev-Scripts/Engine/Classes/Surface.uc

21 lines
692 B
Ucode
Raw Normal View History

2020-12-13 15:01:13 +00:00
/**
* Copyright 1998-2013 Epic Games, Inc. All Rights Reserved.
*/
class Surface extends Object
native
abstract;
native noexport final function float GetSurfaceWidth();
native noexport final function float GetSurfaceHeight();
cpptext
{
virtual FLOAT GetSurfaceWidth() const PURE_VIRTUAL(USurface::GetSurfaceWidth,return 0;);
virtual FLOAT GetSurfaceHeight() const PURE_VIRTUAL(USurface::GetSurfaceHeight,return 0;);
/**
* @return Width/height this surface was before cooking or other modifications
*/
virtual FLOAT GetOriginalSurfaceWidth() const { return GetSurfaceWidth(); }
virtual FLOAT GetOriginalSurfaceHeight() const { return GetSurfaceHeight(); }
}