isolate world code
[carveJwlIkooP6JGAAIwe30JlM.git] / blender_export.py
index 06d90a4b11d4cb69654c547958f28e6d134a695d..d6da9c2864f358c8be0ee5f51dc7473ac9d4c114 100644 (file)
@@ -798,6 +798,34 @@ class classtype_point_light(Structure):
    #}
 #}
 
+# Classtype 201
+# 
+#  Purpose: lighting settings for world
+#
+class classtype_lighting_info(Structure):
+#{
+   _pack_ = 1
+   _fields_ = [("colours",(c_float*3)*3),
+               ("directions",(c_float*2)*3),
+               ("states",c_uint32*3),
+               ("shadow_spread",c_float),
+               ("shadow_length",c_float),
+               ("ambient",c_float*3)]
+
+   def encode_obj(_, node, node_def):
+   #{
+      node.classtype = 201
+
+      # TODO
+   #}
+
+   @staticmethod
+   def editor_interface( layout, obj ):
+   #{
+      pass
+   #}
+#}
+
 class classtype_spawn_link(Structure):
 #{
    _pack_ = 1