Struct ConstantRay2D
Namespace: Unity.VisualScripting.Interpreter
Syntax
[ConstantNode(typeof(Ray2D))]
public struct ConstantRay2D : IConstantNode, IDataNode, IFoldableNode, INode
Fields
Direction
Declaration
public Vector2 Direction
Field Value
Type | Description |
---|---|
Vector2 |
Origin
Declaration
public Vector2 Origin
Field Value
Type | Description |
---|---|
Vector2 |
Output
Declaration
public OutputDataPort Output
Field Value
Type | Description |
---|---|
OutputDataPort |
Methods
Execute<TCtx>(TCtx)
Declaration
public void Execute<TCtx>(TCtx ctx)
where TCtx : IGraphInstance
Parameters
Type | Name | Description |
---|---|---|
TCtx | ctx |
Type Parameters
Name | Description |
---|---|
TCtx |