小海盗 发表于 前天 16:12

Quick Primitives 1.7.0几何形状




Quick Primitives is a collection of basic geometric shapes that give more flexibility than the default shapes available in Unity. The shapes are generated procedurally by codes; no fixed models are used. The shapes can be procedurally changed by setting their parameter values in the inspector interactively.

In addition, object position can be moved by the offset, effectively changing pivot point. UV texture coordinates and colliders can be generated automatically.

FEATURES
• UV mapping
• Normal generation
• Collider generation
• Offset position (pivot)
• Hollowed box and cylinder
• Beveled box edges
• Slice in sphere, cylinder, and torus
• Full source code in c#


Quick Primitives 是一组基本几何形状,与 Unity 中提供的默认形状相比,它们具有更大的灵活性。这些形状由代码程序化生成;不使用固定模型。可以通过在检查器中以交互方式设置其参数值来程序化更改形状。

此外,可以通过偏移移动对象位置,从而有效地改变枢轴点。可以自动生成 UV 纹理坐标和碰撞器。

特点
• UV 映射
• 法线生成
• 碰撞器生成
• 偏移位置(枢轴)
• 空心盒和圆柱体
• 斜面盒边缘
• 球体、圆柱体和圆环中的切片
• 完整的 c# 源代码


页: [1]
查看完整版本: Quick Primitives 1.7.0几何形状