DissolveComponent is responsible to start / stop / reverse dissolving effect.
Functions StartDissolve, StopDissolve allows to do that.
- Reverse - if true, and if component was already dissolving, effect will be reversed restoring component’s original materials.
As example of use let's take a look at function HandleMeshOnDeath in BP_BaseAI.
Function takes all attached actors and start dissolving all components with tag Dissolve.
At the end it also dissolves character mesh.
Example of tag Dissolve would be sword's static mesh in DI_GreatSword.
Quiver stores arrows as InstancedStaticMesh.
In order to use static mesh with this component, make sure that material used by that static mesh has enabled option UsedWithInstancedStaticMeshes.