Class RandomVector2Node
Outputs a random Vector2 value.
Inheritance
object
RandomNode<UnityEngine.Vector2>
RangeRandomNode<UnityEngine.Vector2>
RandomVector2Node
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: InsaneScatterbrain.MapGraph
Syntax
[ScriptNode("Random Vector2", "Random", true)]
[Serializable]
[ExplicitInPortTypes(new Type[] { typeof(Vector2) })]
[ExplicitOutPortTypes(new Type[] { typeof(Vector2) })]
public class RandomVector2Node : RangeRandomNode<Vector2>, IProcessorNode, IProviderNode, IConsumerNode, IScriptNode, INode
Methods
GetRandomValue(Vector2, Vector2)
Declaration
protected override Vector2 GetRandomValue(Vector2 minValue, Vector2 maxValue)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Vector2 | minValue | |
UnityEngine.Vector2 | maxValue |
Returns
Type | Description |
---|---|
UnityEngine.Vector2 |
Overrides
InsaneScatterbrain.MapGraph.RangeRandomNode<UnityEngine.Vector2>.GetRandomValue(UnityEngine.Vector2, UnityEngine.Vector2)