NiTexturingProperty

From GECK
Jump to: navigation, search

NiTexturingProperty is a mostly deprecated block that in conjunction with an attached NiTextureTransformController/NiFlipController and NiSourceTexture allows you to animate textures matching an associated BSShaderNoLightingProperty. Most of NiTexturingProperty no longer visually affects anything, so only the fields that do anything will be listed.

Its fields are:

  • Name: Maybe useful for controller managers.
  • Num Extra Data List: Total number of Extra Data blocks.
  • Extra Data List: No known usages, could be used in the future.
  • Controller: Either a NiTexturingTransformController or a NiFlipController.
  • Flags: Not used, ignore. Defaults to 4.
  • Texture Count: Defaults to 9.
  • Has Base Texture: If this NiTexturingProperty has a base texture.
  • Base Texture
    • Source: A NiSourceTexture. The attached texture needs to match the one listed in an associated BSShaderNoLightingProperty.
    • Flags: Sets the UV Index, and the clamp and pixel filtering modes. None are used.
    • Has Texture Transform: Whether or not the texture has transforms. Required for NiTextureTransformController.
    • Translation: XY transforms of the texture UVs.
    • Scale: XY transforms of the texture UV's scale.
    • Rotation: The rotation value of the texture's W axis, defined below.
    • Transform Method: Determines if scaling occurs before (Max) or after (Maya) rotation.
    • Center: Defines the center of the texture for use in rotation.

Everything else is unused.