<?php
$ui_style_default = _hui('ui_style_default', 'card');
$ui_color_default = _hui('ui_color_default', 'light');
$ui_user_switch = _hui('ui_user_switch', true);
$html_classes = array();
if ($ui_style_default) {
$html_classes[] = 'ui-style-' . $ui_style_default;
}
if ($ui_color_default) {
$html_classes[] = 'ui-color-' . $ui_color_default;
}
if (_hui('idark_default') || (_hui('idark') && _tb_is_dark())) {
$html_classes[] = 'darking';
}
$html_class_attr = $html_classes ? ' class="' . esc_attr(implode(' ', $html_classes)) . '"' : '';
$html_data_attr = (_hui('idark') && _tb_is_night()) ? ' data-night="1"' : '';
?>
<!DOCTYPE HTML>
<html lang="<?php echo tb_get_lang() ?>"<?php echo $html_class_attr . $html_data_attr; ?>>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<meta name="apple-mobile-web-app-title" content="<?php echo get_bloginfo('name') ?>">
<meta http-equiv="Cache-Control" content="no-siteapp">
<script>
(function(){var a=<?php echo $ui_user_switch ? 'true' : 'false'; ?>,s="<?php echo esc_js($ui_style_default); ?>",c="<?php echo esc_js($ui_color_default); ?>",r=document.documentElement;if(r.classList.contains("ui-style-simple")){s="simple"}else if(r.classList.contains("ui-style-flat")){s="flat"}else if(r.classList.contains("ui-style-card")){s="card"}if(r.classList.contains("ui-color-dark")||r.classList.contains("darking")){c="dark"}else if(r.classList.contains("ui-color-light")){c="light"}if(a){var ls=localStorage.getItem("dux-ui-style"),lc=localStorage.getItem("dux-ui-color");if(ls){s=ls}if(lc){c=lc}}r.classList.remove("ui-style-simple","ui-style-card","ui-style-flat");r.classList.remove("ui-color-light","ui-color-dark");if(s){r.classList.add("ui-style-"+s)}if(c){r.classList.add("ui-color-"+c)}if(c==="dark"){r.classList.add("darking")}if(c==="light"){r.classList.remove("darking")}})();
</script>
<title><?php echo _title(); ?></title>
<?php wp_head(); ?>
<link rel="shortcut icon" href="<?php echo home_url() . '/favicon.ico' ?>">
</head>
<body <?php body_class(_bodyclass()); ?>>
<?php do_action('dux_header_before') ?>
<header class="header">
<div class="container">
<?php _the_logo(); ?>
<?php
$_brand = _hui('brand');
if ($_brand) {
$_brand = explode("\n", $_brand);
echo '<div class="brand">' . $_brand[0] . '<br>' . (isset($_brand[1]) ? $_brand[1] : '') . '</div>';
}
?>
<?php if( !_hui('idark_default') && _tb_idark() !== false ){ ?>
<div class="sitedark" etap="darking"><i class="tbfa"></i><i class="tbfa"></i></div>
<?php } ?>
<?php if (_hui('ui_user_switch', true) && _hui('ui_switcher_s', true)) { ?>
<div class="ui-switcher">
<div class="ui-switcher-group">
<button type="button" data-type="style" data-value="simple">简洁</button>
<button type="button" data-type="style" data-value="card">卡片</button>
<button type="button" data-type="style" data-value="flat">扁平</button>
</div>
<div class="ui-switcher-group">
<button type="button" data-type="color" data-value="light">浅色</button>
<button type="button" data-type="color" data-value="dark">暗色</button>
</div>
</div>
<?php } ?>
<?php if (!is_search() && ((_hui('pc_search') && !wp_is_mobile()) || (_hui('m_search') && wp_is_mobile()))) { ?>
<?php if(_hui('search_type_icon',true) || (!_hui('search_type_icon',true)&&_hui('m_search') && wp_is_mobile())){ ?>
<div class="navto-search search-show"><i class="tbfa"></i></div>
<?php }else{ ?>
<?php get_search_form() ?>
<?php } ?>
<?php } ?>
<ul class="site-nav site-navbar">
<?php _the_menu((wp_is_mobile() && has_nav_menu('nav_m')) ? 'nav_m' : 'nav') ?>
</ul>
<?php if (!_hui('topbar_off')) { ?>
<div class="topbar">
<ul class="site-nav topmenu">
<?php _the_menu('topmenu') ?>
<?php if (_hui('guanzhu_b')) { ?>
<li class="menusns menu-item-has-children">
<a href="javascript:;"><?php echo _hui('sns_txt') ?></a>
<ul class="sub-menu">
<?php if (_hui('wechat')) {
echo '<li><a class="sns-wechat" href="javascript:;" title="' . _hui('wechat') . '" data-src="' . _hui('wechat_qr') . '">' . _hui('wechat') . '</a></li>';
} ?>
<?php for ($i = 1; $i < 10; $i++) {
if (_hui('sns_tit_' . $i) && _hui('sns_link_' . $i)) {
echo '<li><a target="_blank" rel="external nofollow" href="' . _hui('sns_link_' . $i) . '">' . _hui('sns_tit_' . $i) . '</a></li>';
}
} ?>
</ul>
</li>
<?php } ?>
</ul>
<?php if (_hui('topbar_sign', 'on')) : ?>
<?php if (function_exists('tbm_on') && tbm_on()) : ?>
<?php do_action('tbm_sign_text', 'dux') ?>
<?php if (current_user_can('publish_posts')) { ?>
<a rel="nofollow" target="_blank" href="<?php echo site_url('/wp-admin/') ?>"><?php _e('后台管理', 'TBL') ?></a>
<a rel="nofollow" target="_blank" href="<?php echo site_url('/wp-admin/post-new.php') ?>"><?php _e('写文章', 'TBL') ?></a>
<?php if (is_single() || is_page()) { ?>
<?php edit_post_link(__('[编辑]', 'TBL')) ?>
<?php } ?>
<?php } ?>
<?php elseif (is_user_logged_in()) : global $current_user; ?>
<?php _moloader('mo_get_user_page', false) ?>
Hi, <?php echo $current_user->display_name ?>
<?php if (_hui('user_page_s')) { ?>
<a rel="nofollow" href="<?php echo mo_get_user_page() ?>"><?php _e('进入会员中心', 'TBL') ?></a>
<?php } ?>
<?php if (current_user_can('publish_posts')) { ?>
<a rel="nofollow" target="_blank" href="<?php echo site_url('/wp-admin/') ?>"><?php _e('后台管理', 'TBL') ?></a>
<a rel="nofollow" target="_blank" href="<?php echo site_url('/wp-admin/post-new.php') ?>"><?php _e('写文章', 'TBL') ?></a>
<?php if (is_single() || is_page()) { ?>
<?php edit_post_link(__('[编辑]', 'TBL')) ?>
<?php } ?>
<?php } ?>
<?php elseif (_hui('user_page_s')) : ?>
<a rel="nofollow" href="javascript:;" class="signin-loader"><?php _e('Hi, 请登录', 'TBL') ?></a>
<a rel="nofollow" href="javascript:;" class="signup-loader"><?php _e('我要注册', 'TBL') ?></a>
<a rel="nofollow" href="<?php echo mo_get_user_rp() ?>"><?php _e('找回密码', 'TBL') ?></a>
<?php else : ?>
<a rel="nofollow" href="<?php echo esc_url(wp_login_url(get_permalink())) ?>"><?php _e('Hi, 请登录', 'TBL') ?></a>
<a rel="nofollow" href="<?php echo wp_registration_url() ?>"><?php _e('我要注册', 'TBL') ?></a>
<a rel="nofollow" href="<?php echo wp_lostpassword_url() ?>"><?php _e('找回密码', 'TBL') ?></a>
<?php endif; ?>
<?php endif; ?>
</div>
<?php } ?>
<?php if (_hui('user_page_s') || (function_exists('tbm_on') && tbm_on())) { ?>
<?php if (!is_user_logged_in()) { ?>
<?php if (function_exists('tbm_on') && tbm_on()) : ?>
<a rel="nofollow" href="javascript:;" class="m-icon-user" tbm-event="login"><i class="tbfa"></i></a>
<?php else : ?>
<a rel="nofollow" href="javascript:;" class="signin-loader m-icon-user"><i class="tbfa"></i></a>
<?php endif; ?>
<?php } else { ?>
<?php _moloader('mo_get_user_page', false) ?>
<a rel="nofollow" href="<?php echo mo_get_user_page() ?>" class="m-icon-user"><i class="tbfa"></i></a>
<?php } ?>
<?php } ?>
</div>
</header>
<?php if (_hui('m_navbar')) { ?>
<div class="m-icon-nav">
<i class="tbfa"></i>
<i class="tbfa"></i>
</div>
<?php } ?>
<div class="site-search">
<div class="container">
<?php get_search_form() ?>
</div>
</div>
<?php if (is_single() && _hui('breadcrumbs_single_s') && hui_breadcrumbs()) { ?>
<div class="breadcrumbs">
<div class="container"><?php echo hui_breadcrumbs() ?></div>
</div>
<?php } ?>
<?php
$ads_site_01_on = true;
if (is_page_template('pages/navs.php') || is_page_template('pages/user.php') || is_page_template('pages/resetpassword.php')) {
$ads_site_01_on = false;
}
$ads_site_01_on && _the_ads($name = 'ads_site_01', $class = 'orbui-site orbui-site-01');
?>
<?php do_action('dux_header_after') ?>
2019-08-15 分类:Packt
评论(0)
Complete Virtual Reality and Augmented Reality Development with Unity: Leverage the power of Unity and become a pro at creating mixed reality applications
Authors: Jesse Glover – Jonathan Linowes
ISBN-10: 1838648186
ISBN-13: 9781838648183
Released: 2019-04-17
Paperback: 668 pages
Book Description
Get close and comfortable with Unity and build applications that run on HoloLens,Daydream,and Oculus Rift
Unity is the leading platform to develop mixed reality experiences because it provides a great pipeline for working with 3D assets.
Using a practical and project-based approach,this Learning Path educates you about the specifics of AR and VR development using Unity 2018 and Unity 3D. You’ll learn to integrate,animate,and overlay 3D objects on your camera feed,before moving on to implement sensor-based AR applications. You’ll explore various concepts by creating an AR application using Vuforia for both macOS and Windows for Android and iOS devices. Next,you’ll learn how to develop VR applications that can be experienced with devices,such as Oculus and Vive. You’ll also explore various tools for VR development: gaze-based versus hand controller input,world space UI canvases,locomotion and teleportation,timeline animation,and multiplayer networking.
You’ll learn the Unity 3D game engine via the interactive Unity Editor and C# programming.
By the end of this Learning Path,you’ll be fully equipped to develop rich,interactive mixed reality experiences using Unity.
This Learning Path includes content from the following Packt products:
Unity Virtual Reality Projects – Second Edition by Jonathan Linowes
Unity 2018 Augmented Reality Projects by Jesse Glover
What you will learn
Create 3D scenes to learn about world space and scale
Move around your scenes using locomotion and teleportation
Create filters or overlays that work with facial recognition software
Interact with virtual objects using eye gaze,hand controllers,and user input events
Design and build a VR storytelling animation with a soundtrack and timelines
Create social VR experiences with Unity networking
下载地址 Download 请完成验证以访问链接!进行人机身份验证
上一篇QlikView: Advanced Data Visualization: Discover deeper insights with Qlikview by building your own rich analytical applications from scratch
下一篇Financial Modeling in Excel For Dummies
觉得文章有用就打赏一下文章作者 您的打赏,我们将继续给力更多优质内容 支付宝扫一扫 微信扫一扫