AGI STK Graphics 11 Send comments on this topic.
IAgStkGraphicsTextureMatrixFactory Interface

Description

A 4 by 4 matrix applied to a texture coordinate.

Object Model





Public Methods

Public Method Initialize Initializes a Texture Matrix to the identity matrix.
Public Method InitializeByValues Initializes a Texture Matrix. The subscripts define [row][column].
Public Method InitializeWithAffineTransform Initializes a Texture Matrix from a Matrix. The upper left 2x2 matrix defines rotation and scaling. The top two elements of the last column define translation.
Public Method InitializeWithRectangles Initializes a Texture Matrix from texture corner points. Normally, a texture is mapped such that the lower left corner is texture coordinate (0, 0), the lower right is (1, 0), the upper right is (1, 1), and the upper left is (0, 1). This code remaps those corners to new corners. For example, remapping the lower left corner to (0.5, 0), the lower right to (1, 0.5), the upper right to (0.5, 1), and the upper left to (0, 0.5) would rotate the texture 45 degress.
© 2016 All Rights Reserved.

STK Programming Interface 11.0.1