VIZWide3D Document Help

Weather

EnableCloud

환경 날씨 구름 활성화

Example

//환경 날씨 구름 활성화 vizcore.View.Weather.EnableCloud(true);

Parameters

Name

Type

Description

enable

boolean

활성화/비활성화

    EnableRain

    환경 날씨 비 활성화

    Example

    //환경 날씨 비 활성화 vizcore.View.Weather.EnableRain(true);

    Parameters

    Name

    Type

    Description

    enable

    boolean

    활성화/비활성화

      EnableSnow

      환경 날씨 눈 활성화

      Example

      //환경 날씨 눈 활성화 vizcore.View.Weather.EnableSnow(true);

      Parameters

      Name

      Type

      Description

      enable

      boolean

      활성화/비활성화

        GetCloudOpion

        환경 날씨 구름 설정값 반환

        Example

        //환경 날씨 구름 설정값 반환 let opt = vizcore.View.Weather.GetCloudOpion();

        Returns

        Type

        Description

        object

        날씨 구름 설정 파라미터

          GetRainOpion

          환경 날씨 비 설정값 반환

          Example

          //환경 날씨 비 설정값 반환 let opt = vizcore.View.Weather.GetRainOpion();

          Returns

          Type

          Description

          object

          날씨 비 설정 파라미터

            GetSnowOpion

            환경 날씨 눈 설정값 반환

            Example

            //환경 날씨 눈 설정값 반환 let opt = vizcore.View.Weather.GetSnowOpion();

            Returns

            Type

            Description

            object

            날씨 눈 설정 파라미터

              SetCloudDrawCount

              환경 날씨 구름 그려지는 수 설정

              Example

              //환경 날씨 구름 그려지는 수 설정 vizcore.View.Weather.SetCloudDrawCount(3);

              Parameters

              Name

              Type

              Description

              count

              number

              구름 그려지는 수

                SetCloudOpion

                환경 날씨 구름 설정값 적용

                Example

                //환경 날씨 구름 설정값 반환 let opt = vizcore.View.Weather.GetCloudOpion(); //환경 날씨 구름 설정값 적용 vizcore.View.Weather.SetCloudOpion(opt);

                Parameters

                Name

                Type

                Description

                opt

                object

                GetCloudOpion()

                  SetCloudTemplate

                  환경 날씨 구름 적용

                  Example

                  //환경 날씨 구름 적용 vizcore.View.Weather.SetCloudTemplate(3);

                  Parameters

                  Name

                  Type

                  Description

                  level

                  number

                  0 ~ 4 (0 = 구름 없음, 1 = 조금, 2 = 보통, 3 = 많음, 4 = 흐린 구름 매우 많음 )

                    SetMistTemplate

                    환경 날씨 안개 적용

                    Example

                    //환경 날씨 안개 적용 vizcore.View.Weather.SetMistTemplate(3);

                    Parameters

                    Name

                    Type

                    Description

                    level

                    number

                    0 ~ 4 (0 = 없음, 1 = 연함, 2 = 보통, 3 = 짙음, 4 = 매우 짙음 )

                      SetRainDrawCount

                      환경 날씨 비 그려지는 수 설정

                      Example

                      //환경 날씨 비 그려지는 수 설정 vizcore.View.Weather.SetRainDrawCount(5);

                      Parameters

                      Name

                      Type

                      Description

                      count

                      number

                      비 그려지는 수

                        SetRainOpion

                        환경 날씨 비 설정값 적용

                        Example

                        //환경 날씨 비 설정값 반환 let opt = vizcore.View.Weather.GetRainOpion(); //환경 날씨 비 설정값 적용 vizcore.View.Weather.SetRainOpion(opt);

                        Parameters

                        Name

                        Type

                        Description

                        opt

                        object

                        GetRainOpion()

                          SetRainTemplate

                          정의된 날씨(비) 적용

                          Example

                          //정의된 날씨(비) 적용 vizcore.View.Weather.SetRainTemplate(2);

                          Parameters

                          Name

                          Type

                          Description

                          level

                          number

                          0 ~ 4 (0 = 맑음, 1 = 조금, 2 = 보통, 3 = 많음, 4 = 매우 많음 )

                            SetRepeatRender

                            정의된 날씨 반복 재생

                            Example

                            //정의된 날씨 반복 재생 vizcore.View.Weather.SetRepeatRender(true);

                            Parameters

                            Name

                            Type

                            Description

                            enable

                            boolean

                            활성화 / 비활성화

                              SetSnowDrawArea

                              환경 날씨 눈 그려지는 영역 설정

                              Example

                              //모델 전체 BoundBox 반환 let bbox = vizcore.Object3D.GetBoundBox(); //환경 날씨 눈 그려지는 영역 설정 vizcore.View.Weather.SetSnowDrawArea(bbox);

                              Parameters

                              Name

                              Type

                              Description

                              bbox

                              VIZCore.BBox

                              눈 그려지는 영역

                                SetSnowDrawCount

                                환경 날씨 눈 그려지는 수 설정

                                Example

                                //환경 날씨 눈 그려지는 수 설정 vizcore.View.Weather.SetSnowDrawCount(4);

                                Parameters

                                Name

                                Type

                                Description

                                count

                                number

                                눈 그려지는 수

                                  SetSnowOpion

                                  환경 날씨 눈 설정값 적용

                                  Example

                                  //환경 날씨 눈 설정값 반환 let opt = vizcore.View.Weather.GetSnowOpion(); //환경 날씨 눈 설정값 적용 vizcore.View.Weather.SetSnowOpion(opt);

                                  Parameters

                                  Name

                                  Type

                                  Description

                                  opt

                                  object

                                  GetSnowOpion()

                                    SetSnowTemplate

                                    정의된 날씨(눈) 적용

                                    Example

                                    //정의된 날씨(눈) 적용 vizcore.View.Weather.SetSnowTemplate(4);

                                    Parameters

                                    Name

                                    Type

                                    Description

                                    level

                                    number

                                    0 ~ 4 (0 = 맑음, 1 = 조금, 2 = 보통, 3 = 많음, 4 = 매우 많음 )

                                      Last modified: 24 July 2024