I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

Difference between revisions of "UE3:Texture (UDK)"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(Talk)
 
(Talk)
Line 63: Line 63:
 
'''Type:''' [[bool]]
 
'''Type:''' [[bool]]
  
When TRUE, mip-maps are dithered for smooth transitions.
+
When TRUE, the alpha channel of mip-maps and the base image are dithered for smooth LOD transitions.
  
 
====bPreserveBorderA====
 
====bPreserveBorderA====
Line 177: Line 177:
  
 
Whether the async resource release process has already been kicked off or not
 
Whether the async resource release process has already been kicked off or not
 +
 +
====bIsSourceArtUncompressed====
 +
'''Type:''' [[bool]]
 +
 +
Has uncompressed source art?
  
 
====bNoTiling====
 
====bNoTiling====

Revision as of 05:24, 17 January 2010

UDK Object >> Surface >> Texture
Package: 
Engine
Direct subclasses:
Texture2D, Texture2DComposite, Texture2DDynamic, TextureCube, TextureMovie, TextureRenderTarget
This class in other games:
RTNP, U1, UT, U2XMP, U2, UE2Runtime, UT2003, UT2004, UT3


Properties

Property group 'Texture'

AdjustBrightness

Type: float

Modifiers: editoronly

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

Default value: 1.0

AdjustBrightnessCurve

Type: float

Modifiers: editoronly

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

Default value: 1.0

AdjustHue

Type: float

Modifiers: editoronly

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

AdjustRGBCurve

Type: float

Modifiers: editoronly

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

Default value: 1.0

AdjustSaturation

Type: float

Modifiers: editoronly

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

Default value: 1.0

AdjustVibrance

Type: float

Modifiers: editoronly

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

bDitherMipMapAlpha

Type: bool

When TRUE, the alpha channel of mip-maps and the base image are dithered for smooth LOD transitions.

bPreserveBorderA

Type: bool


bPreserveBorderB

Type: bool


bPreserveBorderG

Type: bool


bPreserveBorderR

Type: bool

If TRUE, the color border pixels are preseved by mipmap generation. One flag per color channel.

CompressionFullDynamicRange

Type: bool


CompressionNoAlpha

Type: bool


CompressionSettings

Type: TextureCompressionSettings


DeferCompression

Type: bool


Filter

Type: TextureFilter

The texture filtering mode to use when sampling this texture.

Default value: TF_Linear

LODBias

Type: int

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

LODGroup

Type: TextureGroup

Texture group this texture belongs to for LOD bias

NeverStream

Type: bool

Allows artists to specify that a texture should never have its miplevels dropped which is useful for e.g. HUD and menu textures

SourceFilePath

Type: string

Modifiers: editconst, editoronly

Path to the resource used to construct this texture

SourceFileTimestamp

Type: string

Modifiers: editconst, editoronly

Date/Time-stamp of the file from the last import

SRGB

Type: bool


Default value: True

UnpackMax

Type: float

Array size: 4


Default value, index 0: 1.0

Default value, index 1: 1.0

Default value, index 2: 1.0

Default value, index 3: 1.0

UnpackMin

Type: float

Array size: 4


Internal variables

bAsyncResourceReleaseHasBeenStarted

Type: bool

Modifiers: transient, const, private

Whether the async resource release process has already been kicked off or not

bIsSourceArtUncompressed

Type: bool

Has uncompressed source art?

bNoTiling

Type: bool

Modifiers: const

If TRUE, the RHI texture will be created using TexCreate_NoTiling

CachedCombinedLODBias

Type: int

Modifiers: transient

Cached combined group and texture LOD bias to use.

CompressionNoMipmaps

Type: bool


CompressionNone

Type: bool


InternalFormatLODBias

Type: int

Modifiers: const

Internal LOD bias already applied by the texture format (eg TC_NormalMapUncompressed). Used to adjust MinLODMipCount and MaxLODMipCount in CalculateLODBias

LightingGuid

Type: Object.Guid

Modifiers: private, const, editoronly

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

Resource

Type: pointer{FTextureResource}

Modifiers: native, const

The texture's resource.

RGBE

Type: bool


SourceArt

Type: Object.UntypedBulkData_Mirror{FByteBulkData}

Modifiers: native, const


Enums

See Texture enums.