max_strip_len = bpy.props.IntProperty(name="Max strip length", description="Maximum length for a triangle strip", default=1024, min=4, max=16384)
optimize_cache = bpy.props.BoolProperty(name="Optimize cache", description="Optimize element order for vertex cache", default=True)
cache_size = bpy.props.IntProperty(name="Cache size", description="Simulated vertex cache size used in optimization", default=64, min=8, max=1024)
max_strip_len = bpy.props.IntProperty(name="Max strip length", description="Maximum length for a triangle strip", default=1024, min=4, max=16384)
optimize_cache = bpy.props.BoolProperty(name="Optimize cache", description="Optimize element order for vertex cache", default=True)
cache_size = bpy.props.IntProperty(name="Cache size", description="Simulated vertex cache size used in optimization", default=64, min=8, max=1024)
- col = self.layout.column()
- col.prop(self, "compound")
- self.general_col = col
-
- self.layout.separator()
+ self.general_col = self.layout.column()
textures = bpy.props.EnumProperty(name="Textures", description="Export textures", default="REF",
items=(("NONE", "None", "Ignore textures"),
("REF", "Referenced", "Reference external data"),
textures = bpy.props.EnumProperty(name="Textures", description="Export textures", default="REF",
items=(("NONE", "None", "Ignore textures"),
("REF", "Referenced", "Reference external data"),
col.prop(self, "export_lods")
col.prop(self, "textures")
col.prop(self, "export_lods")
col.prop(self, "textures")
resource_collection = bpy.props.BoolProperty(name="Resource collection", description="Put resources to a single collection file", default=True)
def create_exporter(self):
resource_collection = bpy.props.BoolProperty(name="Resource collection", description="Put resources to a single collection file", default=True)
def create_exporter(self):