# NIF File Format Documentation

NIF Objects | Compound Types | Enum Types | Basic Types | File Versions

## NiTexturingProperty

Describes an object's textures.

### Attributes

Name | Type | Arg | Arr1 | Arr2 | Cond | Description | From | To
--- | --- | --- | --- | --- | --- | --- | --- | ---
From NiObject
From NiObjectNET
Skyrim Shader Type | BSLightingShaderPropertyShaderType |  |  |  | IsDerivedType(BSLightingShaderProperty::TYPE) | Configures the main shader path |  |
Name | string |  |  |  |  | Name of this controllable object, used to refer to the object in .kf files. |  |
Has Old Extra Data | bool |  |  |  |  | Extra data for pre-3.0 versions. |  | 2.3
Old Extra Prop Name | string |  |  |  | hasOldExtraData | (=NiStringExtraData) |  | 2.3
Old Extra Internal Id | uint |  |  |  | hasOldExtraData | ref |  | 2.3
Old Extra String | string |  |  |  | hasOldExtraData | Extra string data. |  | 2.3
Unknown Byte | byte |  |  |  |  | Always 0. |  | 2.3
Extra Data | Ref<NiExtraData> |  |  |  |  | Extra data object index. (The first in a chain) | 3.0 | 4.2.2.0
Num Extra Data List | uint |  |  |  |  | The number of Extra Data objects referenced through the list. | 10.0.1.0 |
Extra Data List | Ref<NiExtraData> |  | Num Extra Data List |  |  | List of extra data indices. | 10.0.1.0 |
Controller | Ref<NiTimeController> |  |  |  |  | Controller object index. (The first in a chain) | 3.0 |
From NiProperty
From NiTexturingProperty
Flags | Flags |  |  |  |  | Property flags. |  | 10.0.1.2
Flags | Flags |  |  |  |  | Property flags. | 20.1.0.3 |
Apply Mode | ApplyMode |  |  |  |  | Determines how the texture will be applied. Seems to have special functions in Oblivion. |  | 20.0.0.5
Texture Count | uint |  |  |  |  | Number of textures. Always 7 in versions < 20.0.0.4. Can also be 8 in >= 20.0.0.4. |  |
Has Base Texture | bool |  |  |  |  | Do we have a base texture? |  |
Base Texture | TexDesc |  |  |  | hasBaseTexture | The base texture. |  |
Has Dark Texture | bool |  |  |  |  | Do we have a dark texture? |  |
Dark Texture | TexDesc |  |  |  | hasDarkTexture | The dark texture. |  |
Has Detail Texture | bool |  |  |  |  | Do we have a detail texture? |  |
Detail Texture | TexDesc |  |  |  | hasDetailTexture | The detail texture. |  |
Has Gloss Texture | bool |  |  |  |  | Do we have a gloss texture? |  |
Gloss Texture | TexDesc |  |  |  | hasGlossTexture | The gloss texture. |  |
Has Glow Texture | bool |  |  |  |  | Do we have a glow texture? |  |
Glow Texture | TexDesc |  |  |  | hasGlowTexture | The glowing texture. |  |
Has Bump Map Texture | bool |  |  |  |  | Do we have a bump map texture? |  |
Bump Map Texture | TexDesc |  |  |  | hasBumpMapTexture | The bump map texture. |  |
Bump Map Luma Scale | float |  |  |  | hasBumpMapTexture | Unknown. |  |
Bump Map Luma Offset | float |  |  |  | hasBumpMapTexture | Unknown. |  |
Bump Map Matrix | Matrix22 |  |  |  | hasBumpMapTexture | Unknown. |  |
Has Normal Texture | bool |  |  |  |  | Do we have a normal texture? (Noraml guess based on file suffix in sample files) | 20.2.0.7 |
Normal Texture | TexDesc |  |  |  | hasNormalTexture | Normal texture. | 20.2.0.7 |
Has Unknown2 Texture | bool |  |  |  |  | Do we have a unknown texture 2? | 20.2.0.7 |
Unknown2 Texture | TexDesc |  |  |  | hasUnknown2Texture | Unknown texture 2. | 20.2.0.7 |
Unknown2 Float | float |  |  |  | hasUnknown2Texture | Unknown. |  |
Has Decal 0 Texture | bool |  |  |  |  | Do we have a decal 0 texture? |  |
Decal 0 Texture | TexDesc |  |  |  | hasDecal0Texture | The decal texture. |  |
Has Decal 1 Texture | bool |  |  |  | textureCount >= 8 | Do we have a decal 1 texture? |  | 20.1.0.3
Has Decal 1 Texture | bool |  |  |  | textureCount >= 10 | Do we have a decal 1 texture? | 20.2.0.7 |
Decal 1 Texture | TexDesc |  |  |  | hasDecal1Texture | Another decal texture. |  |
Has Decal 2 Texture | bool |  |  |  | textureCount >= 9 | Do we have a decal 2 texture? |  | 20.1.0.3
Has Decal 2 Texture | bool |  |  |  | textureCount >= 11 | Do we have a decal 2 texture? | 20.2.0.7 |
Decal 2 Texture | TexDesc |  |  |  | hasDecal2Texture | Another decal texture. |  |
Has Decal 3 Texture | bool |  |  |  | textureCount >= 10 | Do we have a decal 3 texture? |  | 20.1.0.3
Has Decal 3 Texture | bool |  |  |  | textureCount >= 12 | Do we have a decal 3 texture? | 20.2.0.7 |
Decal 3 Texture | TexDesc |  |  |  | hasDecal3Texture | Another decal texture. Who knows the limit. |  |
Num Shader Textures | uint |  |  |  |  | Number of Shader textures that follow. | 10.0.1.0 |
Shader Textures | ShaderTexDesc |  | Num Shader Textures |  |  | Shader textures. | 10.0.1.0 |

### Parent Of