24 {
SOCK_INT,
N_(
"Seed"), 0, 0, 0, 0, -10000, 10000},
61 const float min_value = min_values[i];
62 const float max_value = max_values[i];
63 const int seed = seeds[i];
65 values[i] = value * (max_value - min_value) + min_value;
void node_type_socket_templates(struct bNodeType *ntype, struct bNodeSocketTemplate *inputs, struct bNodeSocketTemplate *outputs)
void nodeRegisterType(struct bNodeType *ntype)
BLI_INLINE float BLI_hash_int_01(unsigned int k)
Group RGB to Bright Vector Camera Vector Combine Material Light Line Style Layer Add Ambient Diffuse Glossy Refraction Transparent Toon Principled Hair Volume Principled Light Particle Volume Image Sky Noise Wave Voronoi Brick Texture Vector Combine Vertex Separate Vector White RGB Map Separate Set Z Dilate Combine Combine Color Channel Split ID Combine Luminance Directional Alpha Distance Hue Movie Ellipse Bokeh View Corner Anti Mix RGB Hue Separate TEX_NODE_PROC TEX_NODE_PROC TEX_NODE_PROC TEX_NODE_PROC TEX_NODE_PROC Boolean FN_NODE_RANDOM_FLOAT
static unsigned long seed
void call(blender::IndexMask mask, blender::fn::MFParams params, blender::fn::MFContext UNUSED(context)) const override
static blender::fn::MFSignature create_signature()
void set_signature(const MFSignature *signature)
const MFSignature & signature() const
T & construct_and_set_matching_fn(Args &&... args)
static bNodeSocketTemplate fn_node_random_float_in[]
static bNodeSocketTemplate fn_node_random_float_out[]
static void fn_node_random_float_expand_in_mf_network(blender::nodes::NodeMFNetworkBuilder &builder)
void register_node_type_fn_random_float()
void fn_node_type_base(bNodeType *ntype, int type, const char *name, short nclass, short flag)
struct SELECTID_Context context
Compact definition of a node socket.
NodeExpandInMFNetworkFunction expand_in_mf_network
ccl_device_inline float4 mask(const int4 &mask, const float4 &a)