-
Notifications
You must be signed in to change notification settings - Fork 287
Open
Description
var scene1 = C3D.create({
type: 'sprite',
position: [0,170,-s.fov],
scale: [0.29198],
children: [
{
type: 'plane',
name: 'market',
size: [2192, 5134],
material: [
{ image: this.bgData[0].url, repeat:'no-repeat' }
]
},
{
type: 'sprite',
name: 'classes',
position: [-420,-1260],
children: [
{
type: 'plane',
name: 'leftWin',
position: [0,0],
size: [834, 797],
material: [
{ image: this.bgData[2].url, repeat: 'no-repeat' }
]
},
{
type: 'plane',
name: 'rightWin',
size: [835, 797],
position: [835,0],
material: [
{ image: this.bgData[3].url, repeat: 'no-repeat' }
]
},
]
},
{
type: 'plane',
name: 'door',
size: [2192, 1114],
position: [0,-1410],
material: [
{image: this.bgData[4].url, repeat: 'no-repeat'}
]
}
]
});
如果获取children 中 name 为 leftWin 的 plane?
补充:因为要取出来使用Tween做动画
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels