Layer.cached

機能/意味
Whether to cache
タイプ
Layerクラスのプロパティ (読み書き可能)
説明
 Indicates whether to cache. You can also set a value.
 In the case of setting to cache, you will have an image in which you and your child layer are all superimposed in advance, and unless you or your child layer is changed, you will superimpose yourself and the child layer Do not perform image operations on (reconfigure cache automatically if changed).
 In the case of setting not to cache, the superposition calculation is performed every time the screen is updated.
 By default, caching is not performed, but caching is automatically enabled during a transition (however, this property does not indicate whether caching is enabled automatically during a transition, etc.).
 If you know that there is no change between the image and state of the image of one layer and its child layers, and the screen is frequently rewritten, caching will improve the overall performance of that layer.