ACAPI_Body_Finish
바디 데이터 객체를 어떤 포맷으로 변환합니다. API_ElementMemo structure에게 전달할 수 있습니다.
GSErrCode ACAPI_Body_Finish ( void* bodyData, Modeler::Body** body, API_MaterialOverrideType** bodyMaterialMapTable );
파라미터
- bodyData
- [in] 변환할 바디 데이터 객체입니다.
- body
- [out] 결과로 나오는 바디를 넣어둘 바디 객체입니다.
- bodyMaterialMapTable
- [out] 바디의 폴리곤들의 재질 오버라이드 structure 리스트입니다.
리턴 값
NoError
- 함수가 성공적으로 완료되었습니다.
APIERR_BADPARS
- 전달된 파라미터가
NULL
입니다;bodyData, body
다른 공통 API 오류들에 대해서는 API 오류 문서를 보십시오.
설명
이 함수는 바디 데이터 객체를 API_ElementMemo structure에 전달할 수 있는 데이터로 변환하고 모프 요소로 변환하는 데 사용합니다.
예제
ACAPI_Body_Create 함수의 예제를 보십시오.
요구사항
- 버전: API 16 또는 이후
- 헤더: ACAPinc.h
참고사항
ACAPI_Body_Create, ACAPI_Body_Dispose,
ACAPI_Body_AddVertex, ACAPI_Body_AddEdge, ACAPI_Body_AddPolyNormal, ACAPI_Body_AddPolygon,
바디 관리자, API 함수