Class CrossProduct<T>
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitOrder(405)]
[TypeIcon(typeof(Multiply<>))]
public abstract class CrossProduct<T> : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable
Type Parameters
Name | Description |
---|---|
T |
Properties
a
The first vector.
Declaration
[DoNotSerialize]
public ValueInput a { get; }
Property Value
Type | Description |
---|---|
ValueInput |
b
The second vector.
Declaration
[DoNotSerialize]
public ValueInput b { get; }
Property Value
Type | Description |
---|---|
ValueInput |
crossProduct
The cross product of A and B.
Declaration
[DoNotSerialize]
[PortLabel("A × B")]
public ValueOutput crossProduct { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Operation(T, T)
Declaration
public abstract T Operation(T a, T b)
Parameters
Type | Name | Description |
---|---|---|
T | a | |
T | b |
Returns
Type | Description |
---|---|
T |