Optionalgeometry: Geometry | Primitive.Core.PrimitiveOptionalmaterial: any그림자 캐스팅 여부
Optionalcreate메시의 디스플레이스먼트 텍스처
이 객체의 모델 행렬입니다. 위치, 회전, 스케일 변환에 사용됩니다.
Retrieves the GPU device associated with the current instance.
The GPU device.
자식 객체의 개수를 반환합니다.
자식 수
설정된 부모 객체값을 반환합니다.
Retrieves the RedGPUContext instance.
The RedGPUContext instance.
Retrieves the UUID of the object.
The UUID of the object.
Fires the dirty listeners list.
OptionalresetList: boolean = falseIndicates whether to reset the dirty listeners list after firing.
자식 Mesh를 특정 인덱스에 추가합니다.
추가할 자식 객체
삽입 위치
현재 컨테이너
ExperimentalOptionaltargetY: numberOptionaltargetZ: numberOptionaly: numberOptionalz: numberOptionalrotationY: numberOptionalrotationZ: numberOptionaly: numberOptionalz: number두 인덱스의 자식 객체 위치를 서로 바꿉니다.
첫 번째 인덱스
두 번째 인덱스
Staticget
GPU 인스턴싱 기반의 메시 클래스입니다.
하나의 geometry와 material을 여러 인스턴스(Instance)로 효율적으로 렌더링할 수 있습니다. 각 인스턴스는 transform(위치, 회전, 스케일)만 다르고 geometry/vertex 데이터와 머티리얼은 공유합니다.
아래는 instancedMesh의 구조와 동작을 이해하는 데 도움이 되는 추가 샘플 예제 목록입니다.
See
instancedMesh GPU LOD