ShadowEditor/test/ui/21 TextureTest.html
2018-07-04 20:58:46 +08:00

26 lines
610 B
HTML

<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="utf-8">
<title>Texture Test</title>
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
</head>
<body>
<script src="../../node_modules/three/build/three.js"></script>
<script src="../../dist/ShadowEditor.js"></script>
<script>
var control = Shadow.UI.XType.create({
xtype: 'texture',
onChange: function () {
console.log(this.getValue());
}
});
control.render();
</script>
</body>
</html>