- CacheProceduralProperty
- cacheSize
- ClearCache
- GetProceduralBoolean
- GetProceduralColor
- GetProceduralEnum
- GetProceduralFloat
- GetProceduralPropertyDe...
- GetProceduralTexture
- GetProceduralVector
- HasProceduralProperty
- isLoadTimeGenerated
- IsProceduralPropertyCached
- isProcessing
- isSupported
- ProceduralMaterial
- RebuildTexturesImmediately
- RebuildTextures
- SetProceduralBoolean
- SetProceduralColor
- SetProceduralEnum
- SetProceduralFloat
- SetProceduralTexture
- SetProceduralVector
- StopRebuilds
- substanceProcessorUsage
ProceduralMaterial.CacheProceduralProperty 缓存程序属性
function CacheProceduralProperty (inputName : String, value : boolean) : void
Description描述
Specifies if a named Procedural property should be cached for efficient runtime tweaking.
指定命名的程序属性,为高效运行时调节缓存。
Set this to true for all properties that you expect to be tweaking. It will take effect the next time the textures are rebuild, so call RebuildTextures after setting up these flags in order to prepare the cache. The fewer properties have caching enabled, the more efficient rebuilding the textures will be so consider carefully which properties are actually going to be changed.
设置这个为true,可以调节期望的所有属性。下次的纹理重建时生效,因此在调用RebuildTextures之后,设置这些标识以备缓存。更少的属性启用缓存,纹理将更有效率的重建,因此请慎重考虑,那些纹理实际上需要改变。
参见:IsProceduralPropertyCached, ClearCache.