JSTyphoon
지도 내 태풍을 표현하는 객체를 생성 및 설정하기 위한 API 입니다.
var object = Module.createTyphoon("id");Function
create(position, size, alt) → boolean
Name
Type
Description
var vPosition = new Module.JSVector3D(126.7824826, 35.0119469, 15.2752179);
typhoon.create(vPosition, 500.0, 150.0);createbyJson(options) → object
Name
Type
Description
let json = {
id: "Typhoon",
size: 800,
height: 1000,
position: new Module.JSVector3D(126.7852637, 35.0183227, 30.0),
complete: complete,
damage: {
size: 500,
altitude: 10,
color: new Module.JSColor(200, 0, 0, 255),
unionterrain: false,
},
};getId() → string
moveStart()
moveEnd()
moveList(list)
Name
Type
Description
setDamageRange(danger, size, alt, color)
Name
Type
Description
setRotationSpeed(speed)
Name
Type
Description
setSize(radius, alt)
Name
Type
Description
setSpeed(speed)
Name
Type
Description
setUnionTerrain(type)
Name
Type
Description
setTextureURL(url)
Name
Type
Description
setVisibleDamageRange(type)
Name
Type
Description
Getter / Setter
getDescription(), setDescription(desc) → string
Name
Type
Description
getName(), setName(name) → string
Name
Type
Description
getVisible(), setVisible(visible) → boolean
Name
Type
Description
Type Definitions
JSTyphoon.CreateOptions
Name
Type
Attributes
Default
Description
JSTyphoon.CreateOptions.Damage
Name
Type
Attributes
Default
Description
Last updated