Getting layers from a scene in the C-API


#1

The ruby api seems to have a method of getting the layers visibility from a scene or SUSceneRef in my case.

Is there a way to do this in the C-API ?


#2

Hello @martijnberger

Layers are owned by model and not by scene. So, you can simply ask the model for layers,using SUModelGetLayers, and then check its visibility.

Yogesh