UnityLink`
UnityLink`

DeleteUnityCamera

DeleteUnityCamera[obj]

delete the Unity camera component obj.

DeleteUnityCamera["name"]

delete the Unity camera component with the specified name.

更多信息

  • DeleteUnityCamera destroys the Unity camera component, and releases any references to obj.
  • DeleteUnityCamera[All] destroys all the cameras in the current scene.
  • DeleteUnityCamera is Listable.

范例

打开所有单元关闭所有单元

基本范例  (1)

To use UnityLink, you need first to load the package:

Open a Unity project:

Find and delete a Camera component:

Scope  (4)

Find and delete a Unity camera component:

Delete the Unity camera component by name:

Delete the Unity camera component on a given game object:

Delete all cameras in the current scene:

Possible Issues  (1)

A UnityCamera cannot be accessed after deletion:

Wolfram Research (2017),DeleteUnityCamera,Wolfram 语言函数,https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityCamera.html.

文本

Wolfram Research (2017),DeleteUnityCamera,Wolfram 语言函数,https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityCamera.html.

CMS

Wolfram 语言. 2017. "DeleteUnityCamera." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityCamera.html.

APA

Wolfram 语言. (2017). DeleteUnityCamera. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityCamera.html 年

BibTeX

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

BibLaTeX

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