MeshDisplacementInfo
ReferencesContains mesh displacement information.
Constructors
Constructs a displacement information instance with default values. Users of this class should not rely on default values to stay constant across service releases.
Parameters:
| texture (RenderTexture) | |
| mapping (TextureMapping) |
Exceptions:
| ArgumentNullException | If texture or mapping is null. |
Properties
The amount of displacement for the black color in the texture.
Mapping channel number for the displacement mapping.
Runs a mesh reduction as a post process o simplify the result of displacement to meet the specified number of faces.
Straightens rough feature edges. The value specifies the number of passes.
Instance transformation of the mesh.
Texture mapping transform.
Specifies how much memory can be allocated for use by the displacement mesh. Value in megabytes.
Specifies the maximum angle between face normals of adjacent faces that will get welded together.
Specifies how sensitive the divider for contrasts is on the displacement texture.
Specify 1 to split all mesh edges on each refine step.
Specify 0.99 to make even slight contrasts on the displacement texture cause edges to be split.
Specifying 0.01 only splits edges where heavy contrast exists.
Specifies the number of refinement passes.
Specifies how densely the object is initially subdivided. The lower the value, the higher the resolution of the displaced mesh.
Value considered highest point of the displacement texture.