[]3D场景UNITY导出相机,怎么获取并使用
child":[
{
"type":"Camera",
"props":{
"isStatic":false,
"name":"AutoCamera",
"clearFlag":1,
"orthographic":false,
"fieldOfView":60,
"nearPlane":0.3,
"farPlane":90
},
var camera= scene.getChildByName("AutoCamera");
console.log(camera);
{
"type":"Camera",
"props":{
"isStatic":false,
"name":"AutoCamera",
"clearFlag":1,
"orthographic":false,
"fieldOfView":60,
"nearPlane":0.3,
"farPlane":90
},
var camera= scene.getChildByName("AutoCamera");
console.log(camera);
没有找到相关结果
已邀请:
要回复问题请先登录
2 个回复
zyf598125795
赞同来自:
183*****755
赞同来自: