Attract-Mode Support Forum

Attract-Mode Support => Scripting => Topic started by: rand0m on January 17, 2019, 03:20:48 AM

Title: Global/ Layout-wide mipmap application
Post 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

Code: [Select]
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.
Title: Re: Global/ Layout-wide mipmap application
Post by: keilmillerjr on January 17, 2019, 03:43:00 AM
Illiterate through the fe table and try/catch setting mipmap?