Struct ConstantRay
Namespace: Unity.VisualScripting.Interpreter
Syntax
[ConstantNode(typeof(Ray))]
public struct ConstantRay : IConstantNode, IDataNode, IFoldableNode, INode
Fields
Direction
Declaration
public Vector3 Direction
Field Value
Type | Description |
---|---|
Vector3 |
Origin
Declaration
public Vector3 Origin
Field Value
Type | Description |
---|---|
Vector3 |
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 |