Drive (로직스 노드)

From Neos Wiki
Revision as of 03:42, 13 October 2020 by Mirpasec (talk | contribs) (Created page with "입력측 '''StartDrive'''에 Impulse를 보내면, 입력측 '''Source'''의 값을 출력측 '''DriveTarget'''에 전송합니다. Drive 상태인 경우, '''DriveTarget'''...")
Jump to navigation Jump to search
Other languages:
English • ‎日本語 • ‎한국어

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


Inputs & Outputs

Inputs
Color Label Type
StartDrive Impulse
StopDrive Impulse
Source (dummy)
Outputs
Color Label Type
DriveTarget IField<T>
OnStartDrive Impulse
OnStopDrive Impulse
OnHook Impulse
IsDriving Boolean
HookedValue (dummy)

Driving

Driving duplicates a value to the location your Driving. It only does this operation each frame.

Usage

The Source input and HookedValue outputs start with an unset dummy type, the node will recast to the appropriate type when either of these, or the DriveTarget, is set. If the value referenced by TargetValue is being driven by another source, including another Drive node, when an impulse is received at StartDrive the previous drive will be overridden by the new drive Source. Driven values cannot be written to, however, if a Drive node has set up an active drive on the DriveTarget and an attempt is made to write to that value, an impulse is fired from OnHook and the HookedValue output provides the value which would have been written to the target (available for the duration of the impulse chain from OnHook). OnStartDrive and OnStopDrive fire impulses when a drive is successfully started or stopped as a result of impulses at StartDrive or StopDrive respectively.

Examples

Node Menu

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