This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function 関数名($keyword) | |
{ | |
// ・・・略・・・ | |
$searchResponse = $youtube->search->listSearch('id,snippet', | |
array( | |
'q' => $keyword, // 検索キーワード | |
'maxResults' => '6', // 拾いたい動画数 | |
'order' => 'date')); // 新しい順 | |
// ・・・略・・・ | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
google.com, pub-2394875098786345, DIRECT, f08c47fec0942fa0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<iframe width="500" height="500" src="./vrview/contents/exhibition.html?image=room1.jpg?is_stereo=true"></iframe> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<iframe src="//storage.googleapis.com/vrview/index.html?image=room1.jpg"></iframe> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
public class RotateSkyBox : MonoBehaviour { | |
public float _anglePerFrame = 0.1f; // 1フレームに何度回すか[unit : deg] | |
float _rot = 0.0f; | |
// Use this for initialization | |
void Start() { | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "CppProject1.h" | |
#include "YanaiFileRead.h" | |
FString UYanaiFileRead::GetGameDir() | |
{ | |
return FPaths::GameDir(); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <fstream> | |
#include <iostream> | |
#include <vector> | |
#include <map> | |
#include <opencv2/opencv.hpp> | |
using namespace cv; | |
using namespace std; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//------------------------------------------------------------------------------ | |
// 現在視点から全方位パノラマ画像を作成する | |
Texture2D CreateEquirectangular(int width) | |
{ | |
Texture2D imageCube = CreateCubeMap(width); | |
_finalTex = imageCube; | |
{ | |
Texture2D equiImage = new Texture2D(imageCube.width, imageCube.width / 2); | |
float u, v; // Normalised texture coordinates, from 0 to 1, starting at lower left corner |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bool OpenFile_Windows() | |
{ | |
_path = ""; | |
OpenFileDialog open_file_dialog = new OpenFileDialog(); | |
open_file_dialog.Filter = "JPEG形式|*.jpg"; | |
open_file_dialog.CheckFileExists = false; | |
if (open_file_dialog.ShowDialog() == DialogResult.OK) | |
{ | |
_path = open_file_dialog.FileName; | |
_file = System.IO.Path.GetFileName(_path); |
NewerOlder