GeOnDT GeOnDT for JS

Namespace: Params

Object. Params

GeOnDT for JS API 파라메터 오브젝트들의 구조

Type Definitions

Object.Params.PostProcessParam

Properties:
Name Type Argument Default Description
contrast number <optional>
1.022

화면 전역 대비 적용

brightness number <optional>
1.10

화면 전역 밝기 적용

useAO boolean

AO 적용, 객체의 입체감을 위한 음영 표현

useBloom boolean

전역 광원에 대한 Bloom 표현

bloomStrength number <optional>
0.10

Bloom 적용 세기

useDither boolean

Dither 사용 여부

Object.Params.positionListInfoObject

U3dLodModel Layer 데이터 로드 시 사용되는 정보 리스트

Properties:
Name Type Description
name string

모델의 이름 (사용자 정의)

position WorldPosition

3D 월드 위치

scale Vector3

크기 값

rotation Euler

회전 값

color Color

색상 설정

See:
  • GeOnDT.model.U3dLodModelLayer
Example
const positionList = [{
    "name": "tree_1",
    "position": {
        "x": -31308.143243556882,
        "y": 90748.01715471139,
        "z": 848.7664689033807
    },
    "scale": {
        "x": 2,
        "y": 1.5,
        "z": 2
    },
    "rotation": {
        "isEuler": true,
        "_x": 1.5707963267948966,
        "_y": 6.012382070402432,
        "_z": 0,
        "_order": "XYZ"
    }
}]