Difference between revisions of "Property Element"

204 bytes added ,  19:45, 8 April 2010
imported>JRoush
imported>JRoush
Line 35: Line 35:
*'''Filename''' (String) Specifies the .dds texture file that the element will display.  The file path should be specified relative to the ''Oblivion\Data\Textures\'' directory.
*'''Filename''' (String) Specifies the .dds texture file that the element will display.  The file path should be specified relative to the ''Oblivion\Data\Textures\'' directory.
*'''Zoom''' (Numeric) Specifies the zoom percentage of the image. Setting it to 0 will result in a hidden image and can be larger than 100 to magnify the source texture. When using a value of -1 the image will be resized to fit the width and height of the element (and therefore not cropped).
*'''Zoom''' (Numeric) Specifies the zoom percentage of the image. Setting it to 0 will result in a hidden image and can be larger than 100 to magnify the source texture. When using a value of -1 the image will be resized to fit the width and height of the element (and therefore not cropped).
*'''FileWidth, FileHeight''' (Numeric) Set automatically by the game engine to the actual width in pixels of the loaded texture, after zoom has been applied.  For zoom = -1, these values are set to zero.
*'''CropX,CropY''' (Numeric) Specify the point on the texture, in pixels, that will be placed at the upper left hand corner of the image element.  Because the texture is cropped to fit inside the image element, this essentially cuts CropX pixels off of the left of the image and CropY off of the bottom.  '''Note:'''  CropX/CropY are calculated ''after'' the zoom property has been applied, so the point (5,10) in the original image would be (10,20) after a 200% zoom.
*'''CropX,CropY''' (Numeric) Specify the point on the texture, in pixels, that will be placed at the upper left hand corner of the image element.  Because the texture is cropped to fit inside the image element, this essentially cuts CropX pixels off of the left of the image and CropY off of the bottom.  '''Note:'''  CropX/CropY are calculated ''after'' the zoom property has been applied, so the point (5,10) in the original image would be (10,20) after a 200% zoom.


Anonymous user