只需一步,快速开始
2022-12-31 14:28| 发布者: admin| 查看: 395| 评论: 0|来自: AutoCAD
目标点光源是点光源的目标版本。它与点光源相同,只是您必须提供目标点。
以下代码演示如何设置简单的目标点光源:
// To setup a targetpoint light AcDbLight pointLight; pointLight.setLightType(AcGiDrawable::kPointLight); pointLight.setPosition(AcGePoint3d(0,0,5)); pointLight.setTargetlocation(AcGepoint3d(0,0,0);)
评论
|Archiver|CAD开发者社区 ( 苏ICP备2022047690号-1 苏公网安备32011402011833)
GMT+8, 2025-1-8 19:50
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.