UTextureRenderTarget2D::GetSurfaceDepth

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UTexture::GetSurfaceDepth()

UTextureRenderTarget2D::GetSurfaceDepth()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/TextureRenderTarget2D.h

Include

#include "Engine/TextureRenderTarget2D.h"

Syntax

virtual float GetSurfaceDepth() const

Returns

the depth of the surface represented by the texture.