UnityLink`
UnityLink`

CreateUnityMaterial

CreateUnityMaterial["name",expr]

expr から指定の名前でUnityマテリアルのコンポーネントを作る.

詳細

  • CreateUnityMaterialは,作成されたUnityMaterialオブジェクトを返す.もし作成できなければ$Failedを返す.

例題

  (1)

UnityLinkを使うためには,まずパッケージをロードしなければならない:

Unityプロジェクトを開く:

UnityMaterialを色から作る:

UnityMaterialを使って,GameObjectのマテリアルを設定する:

UnityCameraImageを使って,表示されているUnityMaterialでGameObjectを取り込む: UnityMaterial

Wolfram Research (2019), CreateUnityMaterial, Wolfram言語関数, https://reference.wolfram.com/language/UnityLink/ref/CreateUnityMaterial.html.

テキスト

Wolfram Research (2019), CreateUnityMaterial, Wolfram言語関数, https://reference.wolfram.com/language/UnityLink/ref/CreateUnityMaterial.html.

CMS

Wolfram Language. 2019. "CreateUnityMaterial." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/CreateUnityMaterial.html.

APA

Wolfram Language. (2019). CreateUnityMaterial. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/UnityLink/ref/CreateUnityMaterial.html

BibTeX

@misc{reference.wolfram_2022_createunitymaterial, author="Wolfram Research", title="{CreateUnityMaterial}", year="2019", howpublished="\url{https://reference.wolfram.com/language/UnityLink/ref/CreateUnityMaterial.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2022_createunitymaterial, organization={Wolfram Research}, title={CreateUnityMaterial}, year={2019}, url={https://reference.wolfram.com/language/UnityLink/ref/CreateUnityMaterial.html}, note=[Accessed: 22-November-2024 ]}