当前位置: 首页>>代码示例>>Python>>正文


Python mn_execution.forbidCompiling函数代码示例

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


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


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