Difference between revisions of "Drive (LogiX node)/ko"

From Neos Wiki
Jump to navigation Jump to search
(Created page with "{{:LogiX:Driving{{#translation:}}|Driving}}")
(Updating to match new version of source page)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<languages></languages>
 
<languages></languages>
 +
<div class="mw-translate-fuzzy">
 
입력측 '''StartDrive'''에 Impulse를 보내면, 입력측 '''Source'''의 값을 출력측 '''DriveTarget'''에 전송합니다. Drive 상태인 경우, '''DriveTarget'''에 연결된 속성값을 잠그게 되며 이를 인스펙터에서 직접 수정하려 하는 경우 출력측에 '''OnHook''' Impulse가 발생합니다.
 
입력측 '''StartDrive'''에 Impulse를 보내면, 입력측 '''Source'''의 값을 출력측 '''DriveTarget'''에 전송합니다. Drive 상태인 경우, '''DriveTarget'''에 연결된 속성값을 잠그게 되며 이를 인스펙터에서 직접 수정하려 하는 경우 출력측에 '''OnHook''' Impulse가 발생합니다.
 +
</div>
  
 +
<div class="mw-translate-fuzzy">
 
<!--[[File:|border|256px|right]]-->
 
<!--[[File:|border|256px|right]]-->
 +
</div>
  
 +
<div class="mw-translate-fuzzy">
 
== 입력인자 & 반환값 ==
 
== 입력인자 & 반환값 ==
 
{| class="wikitable"
 
{| class="wikitable"
Line 24: Line 29:
 
| [[:Category:Types:Dummy|(dummy)]]
 
| [[:Category:Types:Dummy|(dummy)]]
 
|}
 
|}
 +
</div>
 +
 +
 +
The <code>OnStartDrive</code> output fires an impulse whenever an impulse arrives at the <code>StartDrive</code> input. This continues the impulse chain which arrived at <code>StartDrive</code>.
 +
 +
 +
The <code>OnStopDrive</code> output fires an impulse whenever an impulse arrives at the <code>StopDrive</code> input. This continues the impulse chain which arrived at <code>StopDrive</code>.
 +
 +
 +
The <code>OnHook</code> fires an impulse whenever the <code>DriveTarget</code> is driven with the <code>Source</code> value and another source (e.g. a [[Write (LogiX node)|Write]] node or [[ButtonValueSet (Component)|ButtonValueSet]] component) attempts (but is not able) to overwrite the value.
 +
 +
 +
The <code>IsDriving</code> output is True while the <code>DriveTarget</code> is driven with the <code>Source</code> value, otherwise False.
 +
 +
 +
The <code>HookedValue</code> output provides the value which another source attempted to set the <code>DriveTarget</code> to when an impulse is fired from <code>OnHook</code>. The value is only available for the duration of the impulse chain started from <code>OnHook</code>.
 +
 +
 +
Note that, when an impulse is received at <code>StartDrive</code> the drive target will become driven by the <code>Source</code> value regardless of whether it was already driven by some other source i.e. control of the target value is overridden.
  
 
<div class="mw-translate-fuzzy">
 
<div class="mw-translate-fuzzy">
Line 57: Line 81:
 
| [[:Category:Types:Dummy|(dummy)]]
 
| [[:Category:Types:Dummy|(dummy)]]
 
|}
 
|}
{{:LogiX:Driving/ko|Driving}}
 
 
</div>
 
</div>
  
{{:LogiX:Driving{{#translation:}}|Driving}}
+
<div class="mw-translate-fuzzy">
 
 
 
== 사용방법 ==
 
== 사용방법 ==
 
입력측 '''Source''' 및 출력측의 '''HookedValue'''는 자료형이 지정되지 않은 상태로 생성됩니다. 위 2가지 입력중 한개 또는 출력측의 '''DriveTarget'''에 연결된 자료형에 따라 동시에 형변환이 일어나게 됩니다.
 
입력측 '''Source''' 및 출력측의 '''HookedValue'''는 자료형이 지정되지 않은 상태로 생성됩니다. 위 2가지 입력중 한개 또는 출력측의 '''DriveTarget'''에 연결된 자료형에 따라 동시에 형변환이 일어나게 됩니다.
Line 70: Line 92:
  
 
다만, '''HookedValue'''에 값이 제공되는 타이밍 문제로 출력노드로 바로 보여지지 않으므로, [[:If (LogiX node){{#translation:}}|If]] 노드 등을 통해 OnHook이벤트 발생시에만 값을 취하도록 하는 식으로 로직스를 구성하셔야 시각적으로 확인 할 수 있습니다.
 
다만, '''HookedValue'''에 값이 제공되는 타이밍 문제로 출력노드로 바로 보여지지 않으므로, [[:If (LogiX node){{#translation:}}|If]] 노드 등을 통해 OnHook이벤트 발생시에만 값을 취하도록 하는 식으로 로직스를 구성하셔야 시각적으로 확인 할 수 있습니다.
 
+
</div>
== 예제 ==
 
 
 
 
 
== 노드 메뉴(Node Menu) ==
 
  
 
[[Category:LogiX{{#translation:}}|Drive]]
 
[[Category:LogiX{{#translation:}}|Drive]]
[[Category:LogiX: Actions{{#translation:}}|Drive]]
+
[[Category:LogiX{{#translation:}}:Actions{{#translation:}}|Drive]]
{{:NodeMenu-Actions{{#translation:}}}}
+
{{NodeMenu-Actions}}

Latest revision as of 04:12, 19 February 2022

Other languages:
English • ‎日本語 • ‎한국어

입력측 StartDrive에 Impulse를 보내면, 입력측 Source의 값을 출력측 DriveTarget에 전송합니다. Drive 상태인 경우, DriveTarget에 연결된 속성값을 잠그게 되며 이를 인스펙터에서 직접 수정하려 하는 경우 출력측에 OnHook Impulse가 발생합니다.

입력인자 & 반환값

입력인자(Input parameters)
자료형 대표색 인자명 자료형
StartDrive Impulse
StopDrive Impulse
Source (dummy)


The OnStartDrive output fires an impulse whenever an impulse arrives at the StartDrive input. This continues the impulse chain which arrived at StartDrive.


The OnStopDrive output fires an impulse whenever an impulse arrives at the StopDrive input. This continues the impulse chain which arrived at StopDrive.


The OnHook fires an impulse whenever the DriveTarget is driven with the Source value and another source (e.g. a Write node or ButtonValueSet component) attempts (but is not able) to overwrite the value.


The IsDriving output is True while the DriveTarget is driven with the Source value, otherwise False.


The HookedValue output provides the value which another source attempted to set the DriveTarget to when an impulse is fired from OnHook. The value is only available for the duration of the impulse chain started from OnHook.


Note that, when an impulse is received at StartDrive the drive target will become driven by the Source value regardless of whether it was already driven by some other source i.e. control of the target value is overridden.

반환값
자료형 대표색 인자명 자료형
DriveTarget IField<T>
OnStartDrive Impulse
OnStopDrive Impulse
OnHook Impulse
IsDriving Boolean
HookedValue (dummy)

사용방법

입력측 Source 및 출력측의 HookedValue는 자료형이 지정되지 않은 상태로 생성됩니다. 위 2가지 입력중 한개 또는 출력측의 DriveTarget에 연결된 자료형에 따라 동시에 형변환이 일어나게 됩니다.

StartDrive를 활성화 하면, Souce의 값이 DriveTarget으로 보내지고, OnStartDrive에 Impulse가 발생하며 IsDriving이 True로 설정됩니다.

이 상태에서 DriveTarget에 연결된 속성을 임의로 변경하고자 하면, OnHook에 Impulse가 발생되며 변경하려고 했던 값은 출력측의 HookedValue로 출력됩니다. (IsDriving이 True인 경우에만 OnHook에 Impulse가 발생됩니다)

다만, HookedValue에 값이 제공되는 타이밍 문제로 출력노드로 바로 보여지지 않으므로, If 노드 등을 통해 OnHook이벤트 발생시에만 값을 취하도록 하는 식으로 로직스를 구성하셔야 시각적으로 확인 할 수 있습니다.

Actions
Back -- ++ Drive Drive Playback Tween Write
Write Latch Write Ref Write Ref Latch