• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Python mn_execution.forbidCompiling函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Python中mn_execution.forbidCompiling函数的典型用法代码示例。如果您正苦于以下问题:Python forbidCompiling函数的具体用法?Python forbidCompiling怎么用?Python forbidCompiling使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了forbidCompiling函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Python代码示例。

示例1: removeDynamicSockets

	def removeDynamicSockets(self):
		forbidCompiling()
		self.outputs.clear()
		for socket in self.inputs:
			if socket.name not in ["Amount"]:
				self.inputs.remove(socket)
		allowCompiling()
开发者ID:TheHeurist,项目名称:animation-nodes,代码行数:7,代码来源:mn_loop_node.py


示例2: init

	def init(self, context):
		forbidCompiling()
		self.inputs.new("mn_ObjectSocket", "Object")
		self.inputs.new("mn_VectorSocket", "Location")
		self.inputs.new("mn_VectorSocket", "Rotation")
		self.inputs.new("mn_VectorSocket", "Scale").vector = (1, 1, 1)
		allowCompiling()
开发者ID:Nikos-Prinios,项目名称:animation-nodes,代码行数:7,代码来源:mn_object_output.py


示例3: init

	def init(self, context):
		forbidCompiling()
		self.inputs.new("mn_FloatSocket", "X")
		self.inputs.new("mn_FloatSocket", "Y")
		self.inputs.new("mn_FloatSocket", "Z")
		self.outputs.new("mn_VectorSocket", "Vector")
		allowCompiling()
开发者ID:Nikos-Prinios,项目名称:animation-nodes,代码行数:7,代码来源:mn_combine_vector.py


示例4: init

	def init(self, context):
		forbidCompiling()
		self.outputs.new("mn_FloatSocket", "Frame")
		self.outputs.new("mn_FloatSocket", "Start Frame")
		self.outputs.new("mn_FloatSocket", "End Frame")
		self.outputs.new("mn_FloatSocket", "Frame Rate")
		allowCompiling()
开发者ID:Nikos-Prinios,项目名称:animation-nodes,代码行数:7,代码来源:mn_time_info.py


示例5: newInputSocket

	def newInputSocket(self):
		forbidCompiling()
		newSocketName = str(len(self.inputs)) + "."
		newSocket = self.inputs.new("mn_StringSocket", newSocketName)
		self.inputs.move(len(self.inputs) - 1, len(self.inputs) - 2)
		allowCompiling()
		nodeTreeChanged()
开发者ID:metaplinius,项目名称:animation-nodes,代码行数:7,代码来源:mn_combine_strings.py


示例6: init

	def init(self, context):
		forbidCompiling()
		self.inputs.new("mn_StringSocket", "Text")
		self.inputs.new("mn_IntegerSocket", "Start").number = 0
		self.inputs.new("mn_IntegerSocket", "Length").number = 5
		self.outputs.new("mn_StringSocket", "Text")
		allowCompiling()
开发者ID:Nikos-Prinios,项目名称:animation-nodes,代码行数:7,代码来源:mn_substring.py


示例7: init

	def init(self, context):
		forbidCompiling()
		self.inputs.new("mn_IntegerSocket", "Seed")
		self.inputs.new("mn_FloatSocket", "Min").number = 0.0
		self.inputs.new("mn_FloatSocket", "Max").number = 1.0
		self.outputs.new("mn_FloatSocket", "Float Value")
		allowCompiling()
开发者ID:wardrums,项目名称:animation-nodes,代码行数:7,代码来源:mn_random_number.py


示例8: init

	def init(self, context):
		forbidCompiling()
		self.inputs.new("mn_IntegerSocket", "Seed")
		self.inputs.new("mn_IntegerSocket", "Length").number = 5
		self.inputs.new("mn_StringSocket", "Characters").string = "abcdefghijklmnopqrstuvwxyz"
		self.outputs.new("mn_StringSocket", "Text")
		allowCompiling()
开发者ID:Nikos-Prinios,项目名称:animation-nodes,代码行数:7,代码来源:mn_random_string.py


示例9: init

	def init(self, context):
		forbidCompiling()
		self.inputs.new("mn_VectorSocket", "Position")
		self.inputs.new("mn_VectorSocket", "Rotation")
		self.inputs.new("mn_VectorSocket", "Scale").vector = [1, 1, 1]
		self.outputs.new("mn_MatrixSocket", "Matrix")
		allowCompiling()
开发者ID:wardrums,项目名称:animation-nodes,代码行数:7,代码来源:mn_compose_matrix.py


示例10: init

	def init(self, context):
		forbidCompiling()
		self.inputs.new("mn_IntegerSocket", "Amount").number = 5
		self.inputs.new("mn_FloatSocket", "Start")
		self.inputs.new("mn_FloatSocket", "Step").number = 1
		self.outputs.new("mn_FloatListSocket", "List")
		allowCompiling()
开发者ID:Nikos-Prinios,项目名称:animation-nodes,代码行数:7,代码来源:mn_float_range_list.py


示例11: init

	def init(self, context):
		forbidCompiling()
		self.inputs.new("mn_IntegerSocket", "Index")
		self.inputs.new("mn_IntegerSocket", "Width").number = 10
		self.inputs.new("mn_FloatSocket", "Distance").number = 3
		self.outputs.new("mn_VectorSocket", "Vector")
		allowCompiling()
开发者ID:Nikos-Prinios,项目名称:animation-nodes,代码行数:7,代码来源:mn_grid_arrange.py


示例12: init

	def init(self, context):
		forbidCompiling()
		self.inputs.new("mn_StringSocket", "1.")
		self.inputs.new("mn_StringSocket", "2.")
		self.inputs.new("mn_EmptySocket", "...").passiveSocketType = "mn_StringSocket"
		self.outputs.new("mn_StringSocket", "Text")
		allowCompiling()
开发者ID:metaplinius,项目名称:animation-nodes,代码行数:7,代码来源:mn_combine_strings.py


示例13: init

	def init(self, context):
		forbidCompiling()
		self.inputs.new("mn_FloatSocket", "Value")
		self.inputs.new("mn_FloatSocket", "Frame")
		self.outputs.new("mn_FloatListSocket", "Strengths")
		self.outputs.new("mn_FloatSocket", "Strength")
		allowCompiling()
开发者ID:Nikos-Prinios,项目名称:animation-nodes,代码行数:7,代码来源:mn_sound_input.py


示例14: init

	def init(self, context):
		forbidCompiling()
		self.inputs.new("mn_ObjectSocket", "Object").showName = False
		self.outputs.new("mn_MatrixSocket", "Basis")
		self.outputs.new("mn_MatrixSocket", "Local")
		self.outputs.new("mn_MatrixSocket", "Parent Inverse")
		self.outputs.new("mn_MatrixSocket", "World")
		allowCompiling()
开发者ID:wardrums,项目名称:animation-nodes,代码行数:8,代码来源:mn_object_matrix_input.py


示例15: init

	def init(self, context):
		forbidCompiling()
		self.outputs.new("mn_StringSocket", "Lower Case")
		self.outputs.new("mn_StringSocket", "Upper Case")
		self.outputs.new("mn_StringSocket", "Digits")
		self.outputs.new("mn_StringSocket", "Special")
		self.outputs.new("mn_StringSocket", "All")
		allowCompiling()
开发者ID:Nikos-Prinios,项目名称:animation-nodes,代码行数:8,代码来源:mn_characters_input.py


示例16: init

	def init(self, context):
		forbidCompiling()
		self.inputs.new("mn_ObjectSocket", "Object")
		self.inputs.new("mn_StringSocket", "Text")
		self.inputs.new("mn_FloatSocket", "Size").number = 1.0
		self.inputs.new("mn_FloatSocket", "Shear").number = 0.0
		self.inputs.new("mn_FloatSocket", "Extrude").number = 0.0
		allowCompiling()
开发者ID:Nikos-Prinios,项目名称:animation-nodes,代码行数:8,代码来源:mn_text_output.py


示例17: init

	def init(self, context):
		forbidCompiling()
		self.inputs.new("mn_ObjectSocket", "From")
		self.inputs.new("mn_ObjectSocket", "To")
		self.inputs.new("mn_FloatSocket", "Frame")
		self.outputs.new("mn_ObjectSocket", "To")
		self.width = 200
		allowCompiling()
开发者ID:wardrums,项目名称:animation-nodes,代码行数:8,代码来源:mn_copy_transforms.py


示例18: init

	def init(self, context):
		forbidCompiling()
		self.inputs.new("mn_BakedSoundSocket", "Sound")
		self.inputs.new("mn_FloatSocket", "Frequence")
		self.inputs.new("mn_FloatSocket", "Frame")
		self.outputs.new("mn_FloatListSocket", "Strengths")
		self.outputs.new("mn_FloatSocket", "Strength")
		allowCompiling()
开发者ID:TheHeurist,项目名称:animation-nodes,代码行数:8,代码来源:mn_sound_input.py


示例19: init

	def init(self, context):
		forbidCompiling()
		self.inputs.new("mn_StringSocket","Text")
		self.inputs.new("mn_StringSocket","Split by")
		self.outputs.new("mn_StringListSocket", "List")
		self.outputs.new("mn_IntegerSocket", "Length")
		self.setHideProperty()
		allowCompiling()
开发者ID:Nikos-Prinios,项目名称:animation-nodes,代码行数:8,代码来源:mn_text_split.py


示例20: init

	def init(self, context):
		forbidCompiling()
		self.inputs.new("mn_FloatSocket", "Red")
		self.inputs.new("mn_FloatSocket", "Green")
		self.inputs.new("mn_FloatSocket", "Blue")
		self.inputs.new("mn_FloatSocket", "Alpha").number = 1
		self.outputs.new("mn_ColorSocket", "Color")
		allowCompiling()
开发者ID:Nikos-Prinios,项目名称:animation-nodes,代码行数:8,代码来源:mn_combine_color.py



注:本文中的mn_execution.forbidCompiling函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Python mne.add_source_space_distances函数代码示例发布时间:2022-05-27
下一篇:
Python mn_execution.allowCompiling函数代码示例发布时间:2022-05-27
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap