how to use BodyIndexMap?
maowu opened this issue · comments
I try to use frame.BodyIndexMap to apply on a renderer.
ex.
var bodyIndexMap_Img = frame.BodyIndexMap; tex2.LoadRawTextureData(bodyIndexMap_Img.GetBufferCopy()); tex2.Apply(); renderer2.material.mainTexture = tex2;
but it shows nothing...
I notice your BodyIndexMap have set method but how to use it?