RTSwitch

AI와 함께 읽기
전체 문서 한 파일로 (llms-full.txt)
RTSwitch #Composite #Node
RTSwitch

Index를 버림 처리해 0~3으로 클램프하고, 0 = A / 1 = B / 2 = C / 3 = D를 그대로 출력합니다. 보간이 전혀 들어가지 않으므로, 박에 맞춰 소재를 끊는 용도에 적합합니다.

  • 출력 버퍼는 선택 중인 입력의 해상도・포맷을 따릅니다
  • 선택 중인 입력이 연결되지 않았을 때는 검정을 출력합니다

입력 포트

Port ID타입
Indexfloat
ARenderTexture
BRenderTexture
CRenderTexture
DRenderTexture

출력 포트

Port ID타입
Render TextureRenderTexture

스크립트에서 설정할 수 있는 멤버

경로타입
indexInputfloat

Synapse Apps (스크립팅)

await synapse.modules.create({ type: "RTSwitch" })