IsDashed
Whether the reference wire is drawn with a dashed pattern.
読み終わるまでの所要時間 1 分最終更新 2ヶ月前
Definition
- Type: Property
- Namespace: Unity.GraphToolkit.Editor.GraphVisualization
- Assembly: UnityEditor
public bool IsDashed { get; set; }
Remarks
Setting a new value overwrites any existing dash pattern overrides for that wire. The wire keeps the dashed pattern until you set this property back to or call WireReference.ClearCustomization. Setting this property has no effect when the WireReference has no associated WireReference.Context, such as when it is . Throws ObjectDisposedException when you access this method after you call Context.Dispose on the context.
falsedefaultApply a dashed style to a wire by retrieving its WireReference from a visualization WireReference.Context and setting this property.
Examples
WireReference wire = context.GetWireReference(outputPortID, inputPortID);wire.IsDashed = true;