Legacy Documentation: Version 2017.2 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

ObjectPreview.Initialize

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.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答