Click or drag to resize
XDL

XFrameCaptureBufferSetEffectFog Method

갈무리 영상에 안개가 낀 효과 적용 여부를 설정한다.

Namespace: Pixoneer.NXDL.NGR
Assembly: NXDLgr (in NXDLgr.dll) Version: 2.0.3.38
Syntax
C#
public void SetEffectFog(
	bool bEnable,
	float fFogFactor
)

Parameters

bEnable  Boolean
효과 활성화 여부.
fFogFactor  Single
안개 농도. 0.5가 기본값이고 0(최소)~1(최대) 범위로 지정하여 안개 농도를 설정한다.
Example
C#
XFrameCaptureBuffer capture = new XFrameCaptureBuffer(XFrameCaptureBuffer.eCaptureMode.BASE, true, true);
capture.CaptureWithoutRequestID = false;
nxPlanetView3D.FrameCapture = capture;
capture.SetEffectFog(true, 0.5f);
nxPlanetView3D.AutoRefreshRate = 10;
See Also