Attract-Mode Support Forum
Attract-Mode Support => Scripting => Topic started by: rand0m on January 17, 2019, 03:20:48 AM
-
Is there anyway to pass a global/ layout-wide mipmap command so every snap/ video has mipmap applied to it? Currently i'm using
local flyer = fe.add_artwork( "flyer", #, #, #, # );
flyer.mipmap = true;
local snap = fe.add_artwork( "snap", #, #, #, # );
snap.mipmap = true;
local video = fe.add_artwork( "video", #, #, #, # );
video.mipmap = true;
I am hoping that I won't have to reuse the same statement time and again and can give a single instruction to apply mipmap to all artwork assets.
-
Illiterate through the fe table and try/catch setting mipmap?