アプリ関連ニュース
- 2020年11月20日
- Unity
Unity 2019.4.14(LTS)でStandard Assetsを使用する
nishida at 2020年11月20日 10:00:21
無料で遊べるWebカメラを使ったフェイストラッキングアプリ”Animaze”について
一般的なWebカメラだけで
フェイストラッキングアニメーションが行える
FaceRigの後継アプリケーションAnimaze by FaceRig(Animaze)
のストアページが公開されました。
(記事執筆時点ではまだ配信は始まっていません)

前身のFaceRigと比べて何点か変わっています。
トラッキング性能などの機能的な事は実際に触ってみないと
分からないのでライセンス周りについて書きます。
tanaka at 2020年11月18日 10:00:50
- 2020年11月16日
- 技術情報
Facade Design Pattern
Facade is an structural design style that provides a simplified interface for a library, framework, or any other complex set of classes.
Let’s say you need to make your code work with a broad set of objects belonging to a sophisticated library or framework. This typically involves initializing all of these objects, tracking dependencies, executing methods in the correct order, and so on.
As a result, the business logic of the class is tightly coupled with the implementation details of the third-party class, making it difficult to understand and maintain.
Facade is a class that provides a simple interface to a complex subsystem containing many moving parts. Facades can provide limited functionality compared to working directly with subsystems. However, this only includes features that the client really cares about.
Lets look at the examples as below.
PHP Sample Code
<?php
// 3rd party module classes
class Kitchen
{
public function cook()
{
echo "cooking order";
}
}
class Cashier
{
public function bill()
{
echo "printing bill";
}
}
//Waiter facade hiding the complexity of other 3rd party classes.
//wrapper class of our all third party packages.
class Waiter
{
public $kitchen;
public $cashier;
public function __construct()
{
$this->kitchen = new Kitchen();
$this->cashier = new Cashier();
}
//providing a simple method called order for client
public function order()
{
$this->kitchen->cook();
$this->cashier->bill();
}
}
$waiter = new Waiter();
$waiter->order();
C# Sample Code
using System;
namespace HelloWorld
{
//Waiter facade hiding the complexity of other 3rd party classes.
//wrapper class of our all third party packages.
public class Facade
{
protected Kitchen _kitchen;
protected Cashier _cashier;
public Facade()
{
this._kitchen = new Kitchen();
this._cashier = new Cashier();
}
//providing a simple method called order for client
public string order()
{
string result = "";
result += this._kitchen.cook();
result += this._cashier.bill();
return result;
}
}
// 3rd party module classes
public class Kitchen
{
public string cook()
{
return "cook order";
}
}
public class Cashier
{
public string bill()
{
return "print bill";
}
}
class Program
{
static void Main(string[] args)
{
Facade facade = new Facade();
Console.Write(facade.order());
}
}
}
By Yuuma.
yuuma at 2020年11月16日 05:40:43
- 2020年11月13日
- 技術情報
[Error: Cannot create file “xampp-control.ini” アクセスが拒否されました]の対処方法
Xampp(Windows)の終了時に「Error: Cannot create file “xampp-control.ini” アクセスが拒否されました」といったエラーが表示される場合の対処方法を紹介します。
続きを読むnishida at 2020年11月13日 10:00:54
- 2020年11月11日
- 他の話題
RCS(Rich Communication Services)について
RCS(Rich Communication Services)は
SMSのように相手の電話番号が分かっていればLineのように
メッセージや画像などのファイルを送信することができる
サービスを実現する規格です。
tanaka at 2020年11月11日 10:00:43