curiosity-inc / azure-kinect-dk-unity

Azure Kinect C# wrapper compatible both with Sensor SDK and Body Tracking SDK ant Unity sample project using it.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to use BodyIndexMap?

maowu opened this issue · comments

commented

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?