21 lines
692 B
Ucode
21 lines
692 B
Ucode
/**
|
|
* 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(); }
|
|
} |