Polygon-Object or Scene Object [SOLVED]
-
On 17/06/2015 at 05:34, xxxxxxxx wrote:
Hello,
is there a Way to find out if an Object produces Polygons or not?I want to find anything like Primitives and Polygonal Objects and Generators but not Lights and other Sceneobjects.
This should also work with Plugins that generate Polygons.
Any Idea?
-
On 17/06/2015 at 06:48, xxxxxxxx wrote:
Hello,
objects don't produce polygons. Generators may produce polygon objects. You can check if a given object is a generator by checking the OBJECT_GENERATOR flag (as discussed recently "Detecting whether a BaseObject is a Generator"). If the object is a generator you can check its cache for polygon objects with GetCache() and GetDeformCache(). This will also work with plugin generators.
Best wishes,
Sebastian -
On 17/06/2015 at 08:10, xxxxxxxx wrote:
Thank you. That helped me.