Class PortTypeTexture2D
Class PortTypeTexture2D. Implements the PortType<T> Implements the ISerializationCallbackReceiver
Inherited Members
Namespace: Mechatronics.SystemGraph
Syntax
[Serializable]
public class PortTypeTexture2D : PortType<Texture2D>, ISerializationCallbackReceiver
Constructors
PortTypeTexture2D()
Initializes a new instance of the PortTypeTexture2D class.
Declaration
public PortTypeTexture2D()
PortTypeTexture2D(PortType<Texture2D>)
Initializes a new instance of the PortTypeTexture2D class.
Declaration
public PortTypeTexture2D(PortType<Texture2D> p)
Parameters
| Type | Name | Description |
|---|---|---|
| PortType<Texture2D> | p | The p. |
PortTypeTexture2D(String)
Initializes a new instance of the PortTypeTexture2D class.
Declaration
public PortTypeTexture2D(string defaultValue)
Parameters
| Type | Name | Description |
|---|---|---|
| String | defaultValue | The default value. |
Properties
Read
Gets the read.
Declaration
public override Texture2D Read { get; }
Property Value
| Type | Description |
|---|---|
| Texture2D | The read. |
Overrides
Mechatronics.SystemGraph.PortType<UnityEngine.Texture2D>.Read
Methods
OnAfterDeserialize()
Implement this method to receive a callback after Unity deserializes your object.
Declaration
public void OnAfterDeserialize()
Implements
OnBeforeSerialize()
Implement this method to receive a callback before Unity serializes your object.
Declaration
public void OnBeforeSerialize()