SubstanceImporter.SetLoadTimeGenerated 设置加载时生成

function SetLoadTimeGenerated (material : ProceduralMaterial, generated : boolean) : void

Description描述

Specifies if the Procedural Material will be generated at load time.

指定该程序材质是否在加载时生成。

If enabled, the Procedural Material will be generated when the scene loads. If disabled, the Procedural Material will not be generated until RebuildTextures or RebuildTexturesImmediately is called.

如果启用,该程序材质将在场景加载时生成。如果禁用,该程序材质将不生成,直到RebuildTextures或RebuildTexturesImmediately被调用。

Page last updated: 2011-9-27