Drive (LogiXノード)

From Neos Wiki
Revision as of 20:52, 6 February 2022 by Aesc (talk | contribs) (Replaced content with "== ノードメニュー ==")
Jump to navigation Jump to search
Other languages:
English • ‎日本語 • ‎한국어
Drive
'Drive' LogiX node
Inputs
  Impulse StartDrive
  Impulse StopDrive
  dummy Source
Outputs
  IField`1 DriveTarget
  Impulse OnStartDrive
  Impulse OnStopDrive
  Impulse OnHook
  Bool IsDriving
  dummy HookedValue

Driveノードは StartDrive でインパルスを受け取ると、入力 Source 値で参照されている DriveTargetドライブし始めます。ドライブはStopDriveでインパルスを受信すると停止します。

使用方法

ノードブラウザからノードが生成されたとき、Source入力は'dummy'のデータ型を持っています。しかし、適切なワイヤが接続されると、ノードは正しい値型にオーバーロードされます。


StartDrive入力にインパルスが到着するたびにOnStartDriveからインパルスを出力します。これはStartDriveに到着したインパルスの連鎖を継続させます。


StopDrive入力にインパルスが到達するたびにOnStopDriveからインパルスを出力します。これは、StopDriveに到着したインパルスの連鎖を継続させます。


OnHook は、DriveTargetSource 値でドライブされている時に、他のソース(例えばWriteノードや ButtonValueSetコンポーネント)が値を上書きしようとする(しかしできない)とインパルスを出力します。


IsDriving出力は、DriveTargetSourceの値でドライブしている間はTrue、それ以外は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.


StartDriveにインパルスを入力すると、ターゲットが既に他のソースによって駆動されているかどうかに関わらず、Source値によってドライブされるようになることに注意してください、つまりターゲット値のドライブが上書きされます。

Examples

Drive example

ノードメニュー

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