ObjectIdRequest.destination

public RenderTexture destination;

Description

RenderTexture to store the rendering result of the request. The colors in this RenderTexture can be decoded to determine the object that was rendered at each pixel, first by decoding the color to an index using ObjectIdResult.DecodeIdFromColor and then by looking this index up in ObjectIdResult._idToObjectMapping.


Did you find this page useful? Please give it a rating: