Class FieldTexture2D
FieldTexture2D, represents a Texture2D field type. Implements the FieldType
Inherited Members
Namespace: Mechatronics.SystemGraph
Syntax
[Serializable]
public class FieldTexture2D : FieldType
Constructors
FieldTexture2D(INodeEditor, Object)
Initializes a new instance of the FieldTexture2D class.
Declaration
public FieldTexture2D(INodeEditor editor, object inData = null)
Parameters
| Type | Name | Description |
|---|---|---|
| INodeEditor | editor | The editor. |
| Object | inData | The data binding. |
Properties
Data
Gets or sets the data.
Declaration
public PortTypeTexture2D Data { get; set; }
Property Value
| Type | Description |
|---|---|
| PortTypeTexture2D | The data. |
PortType
Gets the type of the port.
Declaration
public PortTypeTexture2D PortType { get; }
Property Value
| Type | Description |
|---|---|
| PortTypeTexture2D | The type of the port. |
Methods
OnValueChanged(ChangeEvent<Object>)
Called when [value changed].
Declaration
public void OnValueChanged(ChangeEvent<Object> e)
Parameters
| Type | Name | Description |
|---|---|---|
| ChangeEvent<Object> | e | The event. |
SynchronizePortValue()
Synchronizes the port value.
Declaration
public override void SynchronizePortValue()