get_info_ids_for_prim

omni.kit.property.material.scripts.widgets.usdshade.utils.get_info_ids_for_prim(prim: Prim) Optional[List[str]]

Returns a list of allowed tokens for the info:id property of a shader.

Parameters

prim (Usd.Prim) – The USD primitive representing the shader.

Returns

A list of info:id tokens if found, otherwise None.

Return type

Union[List[str], None]