Show / Hide Table of Contents

Class Texture2D

Texture 2D

Inheritance
System.Object
UObject
Texture
Texture2D
CurveLinearColorAtlas
LightMapTexture2D
ShadowMapTexture2D
TextureLightProfile
Inherited Members
Texture.Source
Texture.LightingGuid
Texture.AssetImportData
Texture.AdjustBrightness
Texture.AdjustBrightnessCurve
Texture.AdjustVibrance
Texture.AdjustSaturation
Texture.AdjustRGBCurve
Texture.AdjustHue
Texture.AdjustMinAlpha
Texture.AdjustMaxAlpha
Texture.CompressionNoAlpha
Texture.CompressionNone
Texture.DeferCompression
Texture.MaxTextureSize
Texture.CompressionQuality
Texture.bDitherMipMapAlpha
Texture.AlphaCoverageThresholds
Texture.bPreserveBorder
Texture.bFlipGreenChannel
Texture.bForcePVRTC4
Texture.PowerOfTwoMode
Texture.PaddingColor
Texture.bChromaKeyTexture
Texture.ChromaKeyThreshold
Texture.ChromaKeyColor
Texture.MipGenSettings
Texture.CompositeTexture
Texture.CompositeTextureMode
Texture.CompositePower
Texture.LODBias
Texture.NumCinematicMipLevels
Texture.CompressionSettings
Texture.Filter
Texture.LODGroup
Texture.SRGB
Texture.bUseLegacyGamma
Texture.NeverStream
Texture.bNoTiling
Texture.bUseCinematicMipLevels
Texture.bAsyncResourceReleaseHasBeenStarted
Texture.CachedCombinedLODBias
Texture.AssetUserData
UObject.TransientPackage
UObject.CastTo<T>(UObject)
UObject.CastTo(UObject, Type)
UObject.RemoveObject(UObject)
UObject.MakeObjectArrayField<T>(NativeArray*)
UObject.NotImplemented<T>()
UObject.Construct()
UObject.GetHashCode()
UObject.GetName()
UObject.ToString()
UObject.Name
UObject._None
UObject.None
UObject.ObjPointer
UObject.LoadObjectFromClass(Class, UObject, String, String, LoadFlags, PackageMap, Boolean)
UObject.LoadClass(Class, UObject, String, String, LoadFlags, PackageMap)
UObject.GetPropertyFor<T>(Name)
UObject.ExecuteUbergraph
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: UE4.Engine
Assembly: UE4DotNet.dll
Syntax
public class Texture2D : Texture

Properties

| Improve this Doc View Source

AddressX

The addressing mode to use for the X axis.

Declaration
public byte AddressX { get; set; }
Property Value
Type Description
System.Byte
| Improve this Doc View Source

AddressY

The addressing mode to use for the Y axis.

Declaration
public byte AddressY { get; set; }
Property Value
Type Description
System.Byte
| Improve this Doc View Source

bForceMiplevelsToBeResident

Declaration
public bool bForceMiplevelsToBeResident { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

bGlobalForceMipLevelsToBeResident

Declaration
public bool bGlobalForceMipLevelsToBeResident { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

bHasBeenPaintedInEditor

Declaration
public bool bHasBeenPaintedInEditor { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

bHasStreamingUpdatePending

Declaration
public bool bHasStreamingUpdatePending { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

bIgnoreStreamingMipBias

Declaration
public bool bIgnoreStreamingMipBias { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

bIsStreamable

Declaration
public bool bIsStreamable { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

bTemporarilyDisableStreaming

Declaration
public bool bTemporarilyDisableStreaming { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

DefaultObject

Get UE4 Default Object for this Class

Declaration
public static Texture2D DefaultObject { get; }
Property Value
Type Description
Texture2D
| Improve this Doc View Source

FirstResourceMemMip

keep track of first mip level used for ResourceMem creation

Declaration
public int FirstResourceMemMip { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

ForceMipLevelsToBeResidentTimestamp

WorldSettings timestamp that tells the streamer to force all miplevels to be resident up until that time.

Declaration
public double ForceMipLevelsToBeResidentTimestamp { get; set; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

ImportedSize

The imported size of the texture.

Declaration
public IntPoint ImportedSize { get; set; }
Property Value
Type Description
IntPoint
Remarks

Only valid on cooked builds when texture source is not available. Access ONLY via the GetImportedSize() accessor!

| Improve this Doc View Source

LevelIndex

  • Level scope index of this texture.
Declaration
public int LevelIndex { get; set; }
Property Value
Type Description
System.Int32
Remarks

It is used to reduce the amount of lookup to map a texture to its level index.

  • Useful when building texture streaming data, as well as when filling the texture streamer with precomputed data.
  • It relates to FStreamingTextureBuildInfo::TextureLevelIndex and also the index in ULevel::StreamingTextureGuids.
  • Default value of -1, indicates that the texture has an unknown index (not yet processed). At level load time,
  • -2 is also used to indicate that the texture has been processed but no entry were found in the level table.
  • After any of these processes, the LevelIndex is reset to INDEX_NONE. Making it ready for the next level task.
| Improve this Doc View Source

StaticClass

Get UE4 Class

Declaration
public static Class StaticClass { get; }
Property Value
Type Description
Class
| Improve this Doc View Source

StreamingIndex

FStreamingTexture index used by the texture streaming system.

Declaration
public int StreamingIndex { get; set; }
Property Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

Blueprint_GetSizeX()

Gets the X size of the texture, in pixels

Declaration
public int Blueprint_GetSizeX()
Returns
Type Description
System.Int32
| Improve this Doc View Source

Blueprint_GetSizeY()

Gets the Y size of the texture, in pixels

Declaration
public int Blueprint_GetSizeY()
Returns
Type Description
System.Int32
| Improve this Doc View Source

New(UObject, Name)

Spawn an object of this class

Declaration
public static Texture2D New(UObject obj = null, Name name = default(Name))
Parameters
Type Name Description
UObject obj
Name name
Returns
Type Description
Texture2D

Operators

| Improve this Doc View Source

Implicit(IntPtr to Texture2D)

Convert from IntPtr to UObject

Declaration
public static implicit operator Texture2D(IntPtr p)
Parameters
Type Name Description
System.IntPtr p
Returns
Type Description
Texture2D
  • Improve this Doc
  • View Source
Back to top Generated by DocFX