Unity之SpriteShapeController

Detail: The quality of the elf shape.
There are three qualities: high, medium and low.

Is Open Ended: Whether it is open and not closed

Adaptive UV: Adaptive UV. If turned on, it will automatically help us determine whether to tile or stretch.
After turning it on, it will be tiled only if the width is enough. If the width is not enough, it will stretch. If it is not
turned on, it will always tile, but the cropping effect may be
average . Choose based on your actual results

Optimize Geometry: Optimize the number of triangles. When checked, the number of triangles in the sprite graphics will be minimized.

Enable Tangents: Whether to enable the tangent calculation function.
If your shader requires tangent information to participate in the calculation, check the box.

Corner Threshold: Corner threshold, when the angle at the corner reaches this threshold, the corner image will be used 

Stretch UV: Whether to stretch the UV. If checked, the UV of the texture will be stretched to the straight line of the entire elf shape.

Pixel Per Unit: Only available when stretching UV is disabled. How many pixels does Unity unit correspond to? Higher values ​​will reduce the size of the texture.

Worldspace UV: Fill the texture according to the UV of the world control

In editing mode

Tangent Mode: Tangent mode

From left to right:
Vertex mode - both sides of the point do not form a curve.
Tangent mode - both sides of the point form a curve, and the tangent radian can be controlled. Left
and right tangent mode - both sides of the point form a curve, and the tangent radian of the left and right sides can be controlled respectively.

Position: the local coordinate position of the selected point

Height: the height of the sprite images on the left and right sides of the control point

Corner: whether to use angle pictures

        Disabled: Do not use angle pictures
        Automatic: Automatic

Sprite Variant: Select the sprite image to use

Snapping: Whether to enable snapping setting control points

***Add collider to created terrain***

Unity will automatically edit the collider

1. Directly add edge colliders

 2. Add compound collider

 

Guess you like

Origin blog.csdn.net/holens01/article/details/130898111