CityEngine CGA語法之拉伸函數 extrude

概要

extrude(axisWorld, height)


參數
height (float):拉伸的單元大小

axisWorld (selstring) :使用世界座標作爲拉伸的方向 (world.x | world.y | world.z)


注意
若height小於0,scope.sy 屬性將小於0
示例

extrude(height)

attr height      =40
Lot-->
	extrude(height)


拉伸方向爲世界座標

attr height      =40
Lot-->
	extrude(world.y,height)









發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章