Version: 2017.1
public void Initialize (Object[] targets);

Parameters

targets The 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.