|
@@ -33,20 +33,20 @@ const SharedParams = {
|
|
|
const SkyboxParams = {
|
|
|
faces: PD.MappedStatic('urls', {
|
|
|
urls: PD.Group({
|
|
|
- nx: PD.Text('', { label: 'Negative X' }),
|
|
|
- ny: PD.Text('', { label: 'Negative Y' }),
|
|
|
- nz: PD.Text('', { label: 'Negative Z' }),
|
|
|
- px: PD.Text('', { label: 'Positive X' }),
|
|
|
- py: PD.Text('', { label: 'Positive Y' }),
|
|
|
- pz: PD.Text('', { label: 'Positive Z' }),
|
|
|
+ nx: PD.Text('', { label: 'Negative X / Left' }),
|
|
|
+ ny: PD.Text('', { label: 'Negative Y / Bottom' }),
|
|
|
+ nz: PD.Text('', { label: 'Negative Z / Back' }),
|
|
|
+ px: PD.Text('', { label: 'Positive X / Right' }),
|
|
|
+ py: PD.Text('', { label: 'Positive Y / Top' }),
|
|
|
+ pz: PD.Text('', { label: 'Positive Z / Front' }),
|
|
|
}, { isExpanded: true, label: 'URLs' }),
|
|
|
files: PD.Group({
|
|
|
- nx: PD.File({ label: 'Negative X', accept: 'image/*' }),
|
|
|
- ny: PD.File({ label: 'Negative Y', accept: 'image/*' }),
|
|
|
- nz: PD.File({ label: 'Negative Z', accept: 'image/*' }),
|
|
|
- px: PD.File({ label: 'Positive X', accept: 'image/*' }),
|
|
|
- py: PD.File({ label: 'Positive Y', accept: 'image/*' }),
|
|
|
- pz: PD.File({ label: 'Positive Z', accept: 'image/*' }),
|
|
|
+ nx: PD.File({ label: 'Negative X / Left', accept: 'image/*' }),
|
|
|
+ ny: PD.File({ label: 'Negative Y / Bottom', accept: 'image/*' }),
|
|
|
+ nz: PD.File({ label: 'Negative Z / Back', accept: 'image/*' }),
|
|
|
+ px: PD.File({ label: 'Positive X / Right', accept: 'image/*' }),
|
|
|
+ py: PD.File({ label: 'Positive Y / Top', accept: 'image/*' }),
|
|
|
+ pz: PD.File({ label: 'Positive Z / Front', accept: 'image/*' }),
|
|
|
}, { isExpanded: true, label: 'Files' }),
|
|
|
}),
|
|
|
...SharedParams,
|