» Attributs de Pins
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

Attributs de Pins

English | Italian

Les attributs de pins décrivent l'apparence d'un champ dans vvvv.

Leur utilisation principale est de décrire une pin d'entrée ou de sortie.

[Input("Input", DefaultValue = 1.0)]
ISpread<double> FInput;
 
[Output("Output")]
ISpread<double> FOutput;

Entre les parenthèses, une liste d'attributs de pins séparés par une virgule pouvant être définie comme suit :
PinAttribute = PinValue,

Le type de la valeur que vous écrirez devra bien sûr être le même que celui de l'attribut de pin.

Toutes les propriétés existantes sont listées sur cette page.

Exemples :

L'exemple suivant assigne une valeur par défaut à la pin. C'est cette valeur qui est utilisée si l'on reset la node avec ALT+Clic droit.

DefaultValue = 255.0

Ici, on définit une pin non spreadable qui n'acceptera qu'une seule slice. L'utilisateur ne peut changer cette propriété.

IsSingle = true

Spécifie la visibilité de la pin :

Visibility = PinVisibility.Hidden

Définit une pin avec le type filename afin d'ouvrir une fenêtre d'explorateur au du clic-droit :

StringType = StringType.Filename

Créé un pingroup, où l'utilisateur pourra spécifier le nombre de pins via l'Inspektor. Notez que cela ne marchera qu'en association avec ISpread<ISpread<T>> où T peut prendre n'importe-quel type.

[Input("Input", IsPinGroup = true)]
ISpread<ISpread<double>> FInput;

anonymous user login

Shoutbox

~4d ago

~7d ago

joreg: The Winter Season of vvvv workshops is now over but all recordings are still available for purchase: https://thenodeinstitute.org/ws23-vvvv-intermediates/

~14d ago

schlonzo: Love the new drag and drop functionality for links in latest previews!

~22d ago

joreg: Workshop on 29 02: Create Sequencers and Precise Clock Based Tools. Signup here: https://thenodeinstitute.org/courses/ws23-vvvv-08-create-sequencers-and-precise-clock-based-tools-in-vvvv-gamma/

~29d ago

joreg: Workshop on 22 02: Unlocking Shader Artistry: A Journey through ‘The Book of Shaders’ with FUSE. Signup here: https://thenodeinstitute.org/courses/ws23-vvvv-12-book-of-shaders/

~1mth ago

joreg: Talk and Workshop on February 15 & 16 in Frankfurt: https://visualprogramming.net/blog/vvvv-at-node-code-frankfurt/

~1mth ago

woei: @Joanie_AntiVJ: think so, looks doable

~1mth ago

xd_nitro: Anyone remember who increased projector brightness by removing some components that product the color?

~1mth ago

Joanie_AntiVJ: This looks super interesting (vectors over network) would anyone here know how to implement this in beta? https://github.com/madmappersoftware/Ponk