Quick Primitives 1.6.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]