Tween (로직스 노드)

From Neos Wiki
Jump to navigation Jump to search
This page is a translated version of the page Tween (LogiX node) and the translation is 21% complete.
Outdated translations are marked like this.
Other languages:
English • ‎日本語 • ‎한국어
Tween
'Tween' LogiX node
Inputs
  Impulse Tween
  T To(목표점)
  T From(시작점)
  Float Duration(동작시간)
  CurvePreset CurvePreset(변화속도)
Outputs
  IField`1 Target(값적용필드)
  Impulse OnStarted(시작시 펄스)
  Impulse OnDone(완료시 펄스)

Tween 노드는 Target에 연결된 필드값을 From부터 To까지 Duration에 지정된 시간(1 = 1초)동안 CurvePreset에 사전 설정된 변화속도 그래프에 맞추어 변경합니다. (참고자료 : 보간법)

사용방법

입력인 From, To의 자료형과 출력인 Target은 자료형이 동일해야 합니다. Target의 경우 로직스 인터페이스의 필드로 바로 연결하세요. Duration은 초를 입력(예. 1 = 1초)합니다. CurvePreset에는 사용할 보간방법을 선택합니다.

The To value determines the final value reached at the end of the Duration.


The From value determines the initial value at the start of the Duration.


The Duration input determines how long the transition from From to To takes in seconds. Default is 1.


The CurvePreset determines the shape of the interpolated values. Default is Smooth.


The OnStarted output fires an impulse when tweening of the Target begins as a result of an impulse received at Tween. An impulse will not be fired if there is no valid Target. This impulse continues the impulse chain which arrived at Tween.


The OnDone output fires an impulse when tweening of the Target has finished. This does not continue the impulse chain which arrived at Tween.


Note that only one tween operation for the Target can be active at any time. Currently target value changes work via sequential writes to the value which may not appear smooth depending on framerates and network latency. Similar, potentially smoother, effects can be achieved with e.g. the various Lerp nodes under Category:LogiX:Math

예제

Tween 예제

Tween example

노드메뉴

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