Table of Contents

Class ComputeBinaryScalar

Namespace
Stride.Rendering.Materials.ComputeColors
Assembly
Stride.Rendering.dll

A node that describe a binary operation between two IComputeScalar

[DataContract("ComputeBinaryScalar")]
[Display("Binary Operator", null)]
public class ComputeBinaryScalar : ComputeBinaryBase<IComputeScalar>, IComputeScalar, IComputeNode
Inheritance
ComputeBinaryScalar
Implements
Inherited Members

Constructors

ComputeBinaryScalar()

Initializes a new instance of the ComputeBinaryScalar class.

public ComputeBinaryScalar()

ComputeBinaryScalar(IComputeScalar, IComputeScalar, BinaryOperator)

Initializes a new instance of the ComputeBinaryScalar class.

public ComputeBinaryScalar(IComputeScalar leftChild, IComputeScalar rightChild, BinaryOperator binaryOperator)

Parameters

leftChild IComputeScalar

The left child.

rightChild IComputeScalar

The right child.

binaryOperator BinaryOperator

The material binary operand.