Show / Hide Table of Contents

Class Texture

Texture

Inheritance
System.Object
UObject
Texture
Texture2D
Texture2DDynamic
TextureCube
TextureRenderTarget
VolumeTexture
MediaTexture
Inherited Members
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 Texture : UObject

Properties

| Improve this Doc View Source

AdjustBrightness

Static texture brightness adjustment (scales HSV value.) (Non-destructive; Requires texture source art to be available.)

Declaration
public float AdjustBrightness { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

AdjustBrightnessCurve

Static texture curve adjustment (raises HSV value to the specified power.) (Non-destructive; Requires texture source art to be available.)

Declaration
public float AdjustBrightnessCurve { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

AdjustHue

Static texture hue adjustment (0 - 360) (offsets HSV hue by value in degrees.) (Non-destructive; Requires texture source art to be available.)

Declaration
public float AdjustHue { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

AdjustMaxAlpha

Remaps the alpha to the specified min/max range, defines the new value of 1 (Non-destructive; Requires texture source art to be available.)

Declaration
public float AdjustMaxAlpha { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

AdjustMinAlpha

Remaps the alpha to the specified min/max range, defines the new value of 0 (Non-destructive; Requires texture source art to be available.)

Declaration
public float AdjustMinAlpha { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

AdjustRGBCurve

Static texture RGB curve adjustment (raises linear-space RGB color to the specified power.) (Non-destructive; Requires texture source art to be available.)

Declaration
public float AdjustRGBCurve { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

AdjustSaturation

Static texture saturation adjustment (scales HSV saturation.) (Non-destructive; Requires texture source art to be available.)

Declaration
public float AdjustSaturation { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

AdjustVibrance

Static texture "vibrance" adjustment (0 - 1) (HSV saturation algorithm adjustment.) (Non-destructive; Requires texture source art to be available.)

Declaration
public float AdjustVibrance { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

AlphaCoverageThresholds

Alpha values per channel to compare to when preserving alpha coverage.

Declaration
public Vector4 AlphaCoverageThresholds { get; set; }
Property Value
Type Description
Vector4
| Improve this Doc View Source

AssetImportData

Asset Import Data

Declaration
public AssetImportData AssetImportData { get; set; }
Property Value
Type Description
AssetImportData
| Improve this Doc View Source

AssetUserData

Array of user data stored with the asset

Declaration
public ObjectArrayField<AssetUserData> AssetUserData { get; }
Property Value
Type Description
ObjectArrayField<AssetUserData>
| Improve this Doc View Source

bAsyncResourceReleaseHasBeenStarted

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

bChromaKeyTexture

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

bDitherMipMapAlpha

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

bFlipGreenChannel

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

bForcePVRTC4

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

bNoTiling

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

bPreserveBorder

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

bUseCinematicMipLevels

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

bUseLegacyGamma

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

CachedCombinedLODBias

Cached combined group and texture LOD bias to use.

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

ChromaKeyColor

The color that will be replaced with transparent black if chroma keying is enabled

Declaration
public Color ChromaKeyColor { get; set; }
Property Value
Type Description
Color
| Improve this Doc View Source

ChromaKeyThreshold

Declaration
public float ChromaKeyThreshold { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

CompositePower

default 1, high values result in a stronger effect e.

Declaration
public float CompositePower { get; set; }
Property Value
Type Description
System.Single
Remarks

g 1, 2, 4, 8 this is no slider because the texture update would not be fast enough

| Improve this Doc View Source

CompositeTexture

Can be defined to modify the roughness based on the normal map variation (mostly from mip maps).

Declaration
public Texture CompositeTexture { get; set; }
Property Value
Type Description
Texture
Remarks

MaxAlpha comes in handy to define a base roughness if no source alpha was there. Make sure the normal map has at least as many mips as this texture.

| Improve this Doc View Source

CompositeTextureMode

defines how the CompositeTexture is applied, e.g. CTM_RoughnessFromNormalAlpha

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

CompressionNoAlpha

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

CompressionNone

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

CompressionQuality

The compression quality for generated textures.

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

CompressionSettings

Compression settings to use when building the texture.

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

DefaultObject

Get UE4 Default Object for this Class

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

DeferCompression

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

Filter

The texture filtering mode to use when sampling this texture.

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

LightingGuid

Unique ID for this material, used for caching during distributed lighting

Declaration
public FGuid LightingGuid { get; set; }
Property Value
Type Description
FGuid
| Improve this Doc View Source

LODBias

A bias to the index of the top mip level to use.

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

LODGroup

Texture group this texture belongs to

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

MaxTextureSize

The maximum resolution for generated textures. A value of 0 means the maximum size for the format on each platform, except HDR long/lat cubemaps, which default to a resolution of 512.

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

MipGenSettings

Per asset specific setting to define the mip-map generation properties like sharpening and kernel size.

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

NeverStream

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

NumCinematicMipLevels

Number of mip-levels to use for cinematic quality.

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

PaddingColor

The color used to pad the texture out if it is resized due to PowerOfTwoMode

Declaration
public Color PaddingColor { get; set; }
Property Value
Type Description
Color
| Improve this Doc View Source

PowerOfTwoMode

How to pad the texture to a power of 2 size (if necessary)

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

Source

Source

Declaration
public TextureSource Source { get; set; }
Property Value
Type Description
TextureSource
| Improve this Doc View Source

SRGB

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

StaticClass

Get UE4 Class

Declaration
public static Class StaticClass { get; }
Property Value
Type Description
Class

Methods

| Improve this Doc View Source

New(UObject, Name)

Spawn an object of this class

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

Operators

| Improve this Doc View Source

Implicit(IntPtr to Texture)

Convert from IntPtr to UObject

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