gpt4 book ai didi

swift - 如何在 RealityKit 中隐藏 ModelEntity?

转载 作者:行者123 更新时间:2023-12-04 12:59:09 28 4
gpt4 key购买 nike

Reality Composer 中有隐藏模型,但找不到任何关于隐藏实体的文档或 ModelEntity在 RealityKit 中。

像这样的事情:

SCNNode ---- hidden

一个 bool 值,用于确定节点内容的可见性。可动画。

最佳答案

看看 isEnabled,我相信它和 SCNNode.hidden 一样

https://developer.apple.com/documentation/realitykit/entity/3244077-isenabled

关于swift - 如何在 RealityKit 中隐藏 ModelEntity?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61453265/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com