object.rotate

对象-旋转

模块:Objects调用:piclient.emit('object.rotate', {...})

旋转对象,默认时间是0

输入

参数类型必填默认值说明
targetstringObjectId
tagstring
rotationstring0.0, 0.0, 0.0roll,pitch,yaw
timestring0时间s

调用

typescript
piclient.emit("object.rotate",{
	target: "ObjectId",
	tag: "",
	rotation: "0.0, 0.0, 0.0", //roll,pitch,yaw
	time: "0", //时间s
})
← 返回 Objects 模块