![]() | X3DModel Class |
Namespace: Pixoneer.NXDL.NGR
public class X3DModel : IDisposable
The X3DModel type exposes the following members.
Name | Description | |
---|---|---|
![]() | CenterXYZ | this 객체의 전체 Boundary의 중심 좌표를 얻는다. |
![]() | MaxXYZ | this 객체의 최대 Boundary에 해당하는 정점을 얻는다. |
![]() | MinXYZ | this 객체의 최소 Boundary에 해당하는 정점을 얻는다. |
Name | Description | |
---|---|---|
![]() | Draw |
Target View에서 this객체에 정의된 모델을 Render하기 위해 이 메쏘드를 호출한다.
ViewAreaID를 설정하면 이 객체에 정의된 좌표에 의거하여 모델을 Rendering한다.
|
![]() | SetTranslate |
this객체가 그려질 좌표점을 입력한다.
|
public X3DModel m_DCCModel; public X3DModelDriverManager m_ModelDriverManager; m_ModelDriverManager = new X3DModelDriverManager(); string strError; m_ModelDriverManager.Initialize(out strError); string strFilePath = "D:\\Sample\\model.3ds"; m_DCCModel = m_ModelDriverManager.LoadFile(strFilePath, out strError);