Welcome to mirror list, hosted at ThFree Co, Russian Federation.

size_over_time.py « bparticle_nodes « nodes « startup « scripts « release - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4c3a10a33b4c7533f5d9778c3c77a2e596c41b99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import bpy
from bpy.props import *
from .. base import SimulationNode
from .. node_builder import NodeBuilder

class SizeOverTimeNode(bpy.types.Node, SimulationNode):
    bl_idname = "fn_SizeOverTimeNode"
    bl_label = "Size Over Time"

    def declaration(self, builder: NodeBuilder):
        builder.fixed_input("final_size", "Final Size", "Float", default=0.0)
        builder.fixed_input("final_age", "Final Age", "Float", default=3)
        builder.influences_output("influence", "Influence")