Blender NIF Plugin Documentation
Release 2.6.0a0.dev4porting process it became apparent that the code was monolithic. All of the import code was in one class, all export code in another. Initially we planned to hold off large scale refactoring until the code catch the exception and/or inspect error reports. The io_scene_nif.import_export_nif.NifImportExport class has a dedicated error() method for precisely this purpose. The list of reports of the last operator the test case would be stored in testframework/test/../../test_x_feature.py. 2. Derive the test class from test.SingleNif and name it TestXFeature. test.SingleNif is a designed upon the template pattern0 码力 | 112 页 | 107.36 KB | 1 年前3
Blender NIF Plugin
Release 2.6.0a0.dev4porting process it became apparent that the code was monolithic. All of the import code was in one class, all export code in another. Initially, we planned to hold off large-scale refactoring until the code catch the exception and/or inspect error reports. The io_scene_nif.import_export_nif.NifImportExport class has a dedicated error() method for precisely this purpose. The list of reports of the last operator the test case would be stored in testframework/test/../../test_x_feature.py. 2. Derive the test class from test.SingleNif and name it TestXFeature. test.SingleNif is designed upon the template pattern0 码力 | 81 页 | 266.16 KB | 1 年前3
Blender NIF Plugin Documentation
Release 2.6.0a0.dev4porting process it became apparent that the code was monolithic. All of the import code was in one class, all export code in another. Initially we planned to hold off large scale refactoring until the code catch the exception and/or inspect error reports. The io_scene_nif.import_export_nif.NifImportExport class has a dedicated error() method for precisely this purpose. The list of reports of the last operator the test case would be stored in testframework/test/../../test_x_feature.py. 2. Derive the test class from test.SingleNif and name it TestXFeature. test.SingleNif is a de- signed upon the template pattern0 码力 | 81 页 | 267.59 KB | 1 年前3
Blender NIF Plugin
Release 2.6.0a0.dev4porting process it became apparent that the code was monolithic. All of the import code was in one class, all export code in another. Initially, we planned to hold off large-scale refactoring until the code catch the exception and/or inspect error reports. The io_scene_nif.import_export_nif.NifImportExport class has a dedicated error() method for precisely this purpose. The list of reports of the last operator the test case would be stored in testframework/test/../../test_x_feature.py. 2. Derive the test class from test.SingleNif and name it TestXFeature. test.SingleNif is designed upon the template pattern0 码力 | 113 页 | 102.69 KB | 1 年前3
BlenderVR User Manual
Release 0.1The minimal processor file contains: import blendervr if blendervr.is_virtual_environment(): class Processor(blendervr.processor.getProcessor()): 3.2. Processor File 17 BlenderVR User Manual, Release def __init__(self, parent): super(Processor, self).__init__(parent) elif blendervr.is_console(): class Processor(blendervr.processor.getProcessor()): def __init__(self, console): super(Processor, self) Example of the BlenderVR API. import blendervr if blendervr.is_virtual_environment(): import bge class Processor(blendervr.processor.getProcessor()): def __init__(self, parent): super(Processor, self)0 码力 | 56 页 | 860.89 KB | 1 年前3
BlenderVR User Manual
Release 0.1is_virtual_environment(): class Processor(blendervr.processor.getProcessor()): def __init__(self, parent): super(Processor, self).__init__(parent) elif blendervr.is_console(): class Processor(blendervr of the BlenderVR API. import blendervr if blendervr.is_virtual_environment(): import bge class Processor(blendervr.processor.getProcessor()): def __init__(self, parent): super(Processor import bpy class Processor(blendervr.processor.getProcessor()): def __init__(self, creator): super(Processor, self).__init__(creator) elif blendervr.is_console(): class Processor(blendervr0 码力 | 75 页 | 861.11 KB | 1 年前3
Blender v2.92 参考手册(繁体中文版)Menu The Text Editor has some dedicated Python scripts, which are useful for writing tools, like a class/function/variable browser, completion... Python, OpenShading Language Main View Typing on the keyboard QuantitativeInvisibilityUP1D is a class implementing the predicate that tests line visibility, and the Operators.select() method takes an instance of the predicate class as argument. The testing of the predicate done by calling the predicate instance, that is, by invoking the __call__ method of the predicate class. In other words, the Operators.select() method takes as argument a functor which in turn takes an0 码力 | 3966 页 | 203.00 MB | 1 年前3
Blender v2.93 ManualMenu The Text Editor has some dedicated Python scripts, which are useful for writing tools, like a class/function/variable browser, completion… Python, OpenShading Language Main View Typing on the keyboard QuantitativeInvisibilityUP1D is a class implementing the predicate that tests line visibility, and the Operators.select() method takes an instance of the predicate class as argument. The testing of the predicate done by calling the predicate instance, that is, by invoking the __call__ method of the predicate class. In other words, the Operators.select() method takes as argument a functor which in turn takes an0 码力 | 3962 页 | 201.40 MB | 1 年前3
Blender v2.92 参考手册(繁体中文版)Menu The Text Editor has some dedicated Python scripts, which are useful for writing tools, like a class/function/variable browser, completion... Python, OpenShading Language Main View Typing on the keyboard QuantitativeInvisibilityUP1D is a class implementing the predicate that tests line visibility, and the Operators.select() method takes an instance of the predicate class as argument. The testing of the predicate done by calling the predicate instance, that is, by invoking the __call__ method of the predicate class. In other words, the Operators.select() method takes as argument a functor which in turn takes an0 码力 | 3868 页 | 198.83 MB | 1 年前3
Blender v2.92 ManualMenu The Text Editor has some dedicated Python scripts, which are useful for writing tools, like a class/function/variable browser, completion… Python, OpenShading Language Main View Typing on the keyboard QuantitativeInvisibilityUP1D is a class implementing the predicate that tests line visibility, and the Operators.select() method takes an instance of the predicate class as argument. The testing of the predicate done by calling the predicate instance, that is, by invoking the __call__ method of the predicate class. In other words, the Operators.select() method takes as argument a functor which in turn takes an0 码力 | 3868 页 | 198.46 MB | 1 年前3
共 39 条
- 1
- 2
- 3
- 4













