iot.offsetTransform

IOT-位置偏移

模块:IOT调用:piclient.emit('iot.offsetTransform', {...})

IOT对象位置偏移

参数说明

参数类型必填默认值说明
iotIdstring否——
locationstring否—x,y,z
rotationstring否—x,y,z
scalestring否—x,y,z
durationnumber否0.0—
ratenumber否0.0—

调用

typescript
piclient.emit("iot.offsetTransform",{
	iotId: "",
	location: "", //x,y,z
	rotation: "", //x,y,z
	scale: "", //x,y,z
	duration: 0.0,
	rate: 0.0,
})
← 返回 IOT 模块