- Cardboard VR Projects for Android
- Jonathan Linowes Matt Schoen
- 208字
- 2021-07-16 10:54:03
Conventions
In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "Edit the MainActivity
Java class so that it extends CardboardActivity
and implements CardboardView.StereoRenderer
."
A block of code is set as follows:
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); CardboardView cardboardView = (CardboardView) findViewById(R.id.cardboard_view); cardboardView.setRenderer(this); setCardboardView(cardboardView); }
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); CardboardView cardboardView = (CardboardView) findViewById(R.id.cardboard_view); cardboardView.setRenderer(this); setCardboardView(cardboardView); }
Any command-line input or output is written as follows:
git clone https://github.com/googlesamples/cardboard-java.git
New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "In Android Studio, select File | New | New Module…. Select Import .JAR/.AAR Package."
- ATmega16單片機(jī)項(xiàng)目驅(qū)動(dòng)教程
- 電腦組裝與維修從入門到精通(第2版)
- Linux運(yùn)維之道(第2版)
- 計(jì)算機(jī)組裝·維護(hù)與故障排除
- 分布式系統(tǒng)與一致性
- 微服務(wù)分布式架構(gòu)基礎(chǔ)與實(shí)戰(zhàn):基于Spring Boot + Spring Cloud
- Spring Cloud微服務(wù)架構(gòu)實(shí)戰(zhàn)
- SiFive 經(jīng)典RISC-V FE310微控制器原理與實(shí)踐
- Machine Learning Solutions
- 電腦高級(jí)維修及故障排除實(shí)戰(zhàn)
- 基于PROTEUS的電路設(shè)計(jì)、仿真與制板
- 新編電腦組裝與硬件維修從入門到精通
- 微控制器的應(yīng)用
- ARM接口編程
- Unreal Development Kit Game Programming with UnrealScript:Beginner's Guide