[THREE JS] 도형만들기

Hyuk·2023년 4월 21일

THREE JS

목록 보기
1/5

Scene

  • 우리가 보는 장면 그 자체(장면)

scene 요소

  • camera
    • control
  • mesh
    • geometry(모양)
    • meterial(재질)
  • light

renderer => 화면

x => 좌(+)우(-)
y => 위(+)아래(-)
z => 앞(+)뒤(-)

transition 옵션(블로그)

위치

position.x = 3
or
position.set(x,y,z)

크기

scale.x = 3
or
scale.set(x,y,z)

회전

rotation.x = 3
or
rotation.set(x,y,z)

그룹(https://threejs.org/docs/?q=group#api/en/objects/Group)
한덩어리로 묶어주기

헬퍼 - 3d를 도와주는 좌표

profile
frontEnd Developer

0개의 댓글