def acceptAssetFile(self, filePath): if not os.path.isfile( filePath ): return False name, ext = os.path.splitext( filePath ) if ext == '.particle': return _MOCK.checkSerializationFile( filePath, 'mock.ParticleSystemConfig' ) elif ext == '.particle_simple': return _MOCK.checkSerializationFile( filePath, 'mock.SimpleParticleSystemConfig' )
def acceptAssetFile(self, filePath): if not os.path.isfile(filePath): return False name, ext = os.path.splitext(filePath) if ext == '.particle': return _MOCK.checkSerializationFile(filePath, 'mock.ParticleSystemConfig') elif ext == '.particle_simple': return _MOCK.checkSerializationFile( filePath, 'mock.SimpleParticleSystemConfig')
def acceptAssetFile(self, filePath): if not os.path.isfile(filePath): return False name, ext = os.path.splitext(filePath) if not ext in ['.deck2d']: return False return _MOCK.checkSerializationFile(filePath, 'mock.Deck2DPack')
def acceptAssetFile(self, filePath): if not os.path.isfile( filePath ): return False name, ext = os.path.splitext( filePath ) if not ext in [ '.deck2d' ]: return False return _MOCK.checkSerializationFile( filePath, 'mock.Deck2DPack' )
def acceptAssetFile(self, filePath): if not os.path.isfile( filePath ): return False name, ext = os.path.splitext( filePath ) if not ext in [ '.render_target' ]: return False return _MOCK.checkSerializationFile( filePath, 'mock.RenderTargetTexture' )
def acceptAssetFile(self, filePath): if not os.path.isfile(filePath): return False name, ext = os.path.splitext(filePath) if not ext in ['.render_target']: return False return _MOCK.checkSerializationFile(filePath, 'mock.RenderTargetTexture')
def acceptAssetFile(self, filePath): if not os.path.isfile(filePath): return False name, ext = os.path.splitext(filePath) if not ext in ['.color_grading']: return False return _MOCK.checkSerializationFile(filePath, 'mock.ColorGradingConfig')