public void Initialize (Object[] targets);

Parameters

targetsThe objects being previewed.

Description

Called when the Preview gets created with the objects being previewed.

You can override this function and use this to cache or initialize anything needed by your preview.