v3.9.1 Documentation
Fungus.MaterialVariable Class Reference

Material variable type. More...

Inheritance diagram for Fungus.MaterialVariable:
Fungus.VariableBase< Material >

Public Member Functions

virtual bool Evaluate (CompareOperator compareOperator, Material value)
override void Apply (SetOperator setOperator, Material value)
- Public Member Functions inherited from Fungus.VariableBase< Material >
override void OnReset ()
 Callback to reset the variable if the Flowchart is reset. More...
override string ToString ()
virtual void Apply (SetOperator setOperator, T value)

Static Public Attributes

static readonly CompareOperator [] compareOperators = { CompareOperator.Equals, CompareOperator.NotEquals }
static readonly SetOperator [] setOperators = { SetOperator.Assign }

Additional Inherited Members

- Protected Member Functions inherited from Fungus.VariableBase< Material >
virtual void Start ()
- Protected Attributes inherited from Fungus.VariableBase< Material >
- Properties inherited from Fungus.VariableBase< Material >
virtual T Value [get, set]

Detailed Description

Material variable type.

Definition at line 15 of file MaterialVariable.cs.

Member Function Documentation

◆ Apply()

override void Fungus.MaterialVariable.Apply ( SetOperator  setOperator,
Material  value 

Definition at line 40 of file MaterialVariable.cs.

◆ Evaluate()

virtual bool Fungus.MaterialVariable.Evaluate ( CompareOperator  compareOperator,
Material  value 

Definition at line 20 of file MaterialVariable.cs.

Member Data Documentation

◆ compareOperators

readonly CompareOperator [] Fungus.MaterialVariable.compareOperators = { CompareOperator.Equals, CompareOperator.NotEquals }

Definition at line 17 of file MaterialVariable.cs.

◆ setOperators

readonly SetOperator [] Fungus.MaterialVariable.setOperators = { SetOperator.Assign }

Definition at line 18 of file MaterialVariable.cs.

The documentation for this class was generated from the following file: