|
From: | Andi 'Debug' Allen |
Subject: | [Nel] (no subject) |
Date: | Thu, 19 Feb 2004 22:53:37 -0000 |
hi again fans :)
ok todays question is...
after creating a UTexture format vie the UDriver
createTextureFile function
_texture =
driver().createTextureFile("file.tga");
i need a way to obtain the width and height of the
UTexture file
there doest appear to be an accessor for this in
UTexture
later in the code at the point i need to find the width and height
i have a material with the texture assigned to it and to perform
some required calculations
to avoid repeating something that already may exist and
for cleaner faster code does anyone know a way to obtain this information
from
Utexture or more preferably from a material with a Utexture assigned to
it
the material > texture > width / height is best way for me as it will
require
a lower overhead of varibles being thrown about
Andi 'Debug' Allen
-----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCS d--- s-: a-- C++++ US++ P++ L+ E--- W+++ N o-- K++ w++++ O---- M-- V-- PS+++ PE Y+ PGP t+ 5++ X++ R-- tv+++ b++++ DI++ D++ G++ e* h++ r+++ y++++ ------END GEEK CODE BLOCK------ |
[Prev in Thread] | Current Thread | [Next in Thread] |