Click or drag to resize
XDL

XAircraftAddModel Method

파일경로에서 비행체 모델을 로딩하여 모델 목록에 추가한다.
하나 이상의 모델을 이용하여 비행체를 렌더링할 수 있도록 한다.

Namespace:  Pixoneer.NXDL.NEQUIP
Assembly:  NXDLncw (in NXDLncw.dll) Version: 2.0.3.31
Syntax
C#
public bool AddModel(
	string strFile,
	bool blendMode
)

Parameters

strFile
Type: SystemString
모델 파일 경로.
blendMode
Type: SystemBoolean
색상 혼합 모드 사용 여부. 현재는 모델의 텍스쳐와 물질을 무시하고 지정한 색상으로 표시한다.

Return Value

Type: Boolean
모델 로딩이 성공하면 true를 반환하고, 그렇지 않으면 false를 반환한다.
See Also