Click or drag to resize
XDL

XFrameCaptureBufferSetEffectRain Method

갈무리 영상에 비가 내리는 효과 적용 여부를 설정한다.

Namespace:  Pixoneer.NXDL.NGR
Assembly:  NXDLgr (in NXDLgr.dll) Version: 2.0.3.31
Syntax
C#
public void SetEffectRain(
	bool bEnable,
	float fRainfallFactor
)

Parameters

bEnable
Type: SystemBoolean
효과 활성화 여부.
fRainfallFactor
Type: SystemSingle
강우량 배율. 0.5가 기본값이고 0(최소)~1(최대) 범위로 지정하여 강우량 비율을 설정한다.
Examples
XFrameCaptureBuffer capture = new XFrameCaptureBuffer(XFrameCaptureBuffer.eCaptureMode.BASE, true, true);
capture.CaptureWithoutRequestID = false;
nxPlanetView3D.FrameCapture = capture;
capture.SetEffectRain(true, 0.5f);
nxPlanetView3D.AutoRefreshRate = 10;
See Also