docs.unity.cn
    Show / Hide Table of Contents

    Class PortTypeTexture2D

    Class PortTypeTexture2D. Implements the PortType<T> Implements the ISerializationCallbackReceiver

    Inheritance
    Object
    IPortType
    PortType<Texture2D>
    PortTypeTexture2D
    Inherited Members
    PortType<Texture2D>.Data
    PortType<Texture2D>.CreateFieldBox()
    PortType<Texture2D>.TrySetValue(Object)
    PortType<Texture2D>.TryGetValue()
    PortType<Texture2D>.Synchronize()
    PortType<Texture2D>.Propagate(Double)
    PortType<Texture2D>.WriteRaw
    PortType<Texture2D>.Write
    PortType<Texture2D>.ReadRaw
    PortType<Texture2D>.Ref()
    PortType<Texture2D>.SetOnChangeClockRisingEdge(Boolean)
    PortType<Texture2D>.ToString()
    PortType<Texture2D>.CopyFrom(PortType<Texture2D>)
    IPortType.globalId
    IPortType.uniqueId
    IPortType.synchronizeAfterLinking
    IPortType.Clock
    IPortType.ChangeEvent
    IPortType.Batching
    IPortType.SignalBatch
    IPortType.Connected
    IPortType.Driver
    IPortType.SetConnected(Boolean)
    IPortType.SetSynchronizeAfterLinking(Boolean)
    IPortType.SetAsDriver(Object)
    IPortType.BeginBatch()
    IPortType.EndBatch()
    IPortType.TypeNiceName(Type)
    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
    ISerializationCallbackReceiver.OnAfterDeserialize()

    OnBeforeSerialize()

    Implement this method to receive a callback before Unity serializes your object.

    Declaration
    public void OnBeforeSerialize()
    Implements
    ISerializationCallbackReceiver.OnBeforeSerialize()

    See Also

    PortType<T>
    ISerializationCallbackReceiver
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Tuesday, October 18, 2022
    Terms of use