본문으로 건너뛰기

SetTextObjectNoteAnchorPosition

public void SetTextObjectNoteAnchorPosition(int noteId, AnchorPoint anchor, Vertex3D targetPos)

TextObjectNote 를 이동시켜 지정 AnchorPoint 가 targetPos 에 오도록 배치.

Remarks​

순수 평행이동으로 텍스트의 방향/회전은 그대로 유지된다.
예를 들어 anchor = BottomCenter 면 텍스트 박스의 하단 중앙이 targetPos 에 오도록 이동한다.
노트가 없거나 TextObjectNote 가 아니거나 아직 화면에 렌더링되지 않은 경우 이동하지 않는다.

Parameters​

NameTypeDescription
noteIdintTextObjectNote ID
anchorAnchorPointtargetPos 에 맞출 기준 anchor (예: AnchorPoint.Center)
targetPosVertex3Danchor 를 맞출 목표 월드 좌표