-
Notifications
You must be signed in to change notification settings - Fork 2
[Api] Links
CoffeeVampir3 edited this page Mar 21, 2021
·
11 revisions
public class Link
This is the Api, for general information see Link Usage
public bool TryGetValue<T>(out T value)
Tries to get the distant end value of this link as T, returns true if value
is not null. This is the recommended way of getting a link value.
public T GetValueAs<T>()
Assumes the type T is correct and fetches the value of the distant end of this link as T. This is provided only for graphs who intend to use only one type. This can throw at runtime, so do not use this if your graph deals with multiple types.
public RuntimeNode Node => linkedTo;
Returns the distant node this link is linked to.
public void Reset(int graphId)
Resets the value of this link for the given Virtual Graph id.
Tutorials
Usage Examples
Api Documentation
- Graph
- Blackboards
- Ports
- Attributes
- Views
Advanced
In Testing