ARKit概念解析二:SCNText的extrusionDepth与chamferRadius

作者:
声明:转发本文,请联系作者授权

一个文本几何体可能包含一个,三个或五个几何体元素:

A text geometry may contain one, three, or five geometry elements:

如果它的extrusionDepth属性是0.0,文本几何体有一个元素对应它的可见面。

If its extrusionDepth property is 0.0, the text geometry has one element corresponding to its one visible side.

如果它的挤压深度(extrusionDepth)大于0,它的倒角半径(chamferRadius)属性是0.0,文本几何体有三个元素,对应它的前,后和受挤压的面。

If its extrusion depth is greater than zero and its chamferRadius property is 0.0, the text geometry has three elements, corresponding to its front, back, and extruded sides.

如果挤压深度和倒角半径都大于0,文本几何体有五个元素,对应它的前,后,受挤压面,前倒角,后倒角。

If both extrusion depth and chamfer radius are greater than zero, the text geometry has five elements, corresponding to its front, back, extruded sides, front chamfer, and back chamfer.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值