Class BrushPlaybackTests
Inheritance
System.Object
BrushPlaybackTests
Syntax
public class BrushPlaybackTests : MonoBehaviour
Methods
Cleanup()
Declaration
SetUp()
Declaration
SetupTerrain(String)
Declaration
public void SetupTerrain(string terrainName)
Parameters
Type |
Name |
Description |
System.String |
terrainName |
|
Test_PaintHeight_Playback(String, String)
Declaration
public IEnumerator Test_PaintHeight_Playback(string recordingFilePath, string targetTerrainName)
Parameters
Type |
Name |
Description |
System.String |
recordingFilePath |
|
System.String |
targetTerrainName |
|
Returns
Type |
Description |
System.Collections.IEnumerator |
|
Test_PaintNoiseHeight_Playback(String, String)
Declaration
public IEnumerator Test_PaintNoiseHeight_Playback(string recordingFilePath, string targetTerrainName)
Parameters
Type |
Name |
Description |
System.String |
recordingFilePath |
|
System.String |
targetTerrainName |
|
Returns
Type |
Description |
System.Collections.IEnumerator |
|
Test_PaintTexture_Playback(String, String)
Declaration
public IEnumerator Test_PaintTexture_Playback(string recordingFilePath, string targetTerrainName)
Parameters
Type |
Name |
Description |
System.String |
recordingFilePath |
|
System.String |
targetTerrainName |
|
Returns
Type |
Description |
System.Collections.IEnumerator |
|
Test_SetHeight_Playback(String, Single)
Declaration
public IEnumerator Test_SetHeight_Playback(string recordingFilePath, float targetHeight)
Parameters
Type |
Name |
Description |
System.String |
recordingFilePath |
|
System.Single |
targetHeight |
|
Returns
Type |
Description |
System.Collections.IEnumerator |
|
Test_SmoothHeight_Playback(String, String, Single)
Declaration
public IEnumerator Test_SmoothHeight_Playback(string setHeightFilePath, string smoothFilePath, float setHeightScalar)
Parameters
Type |
Name |
Description |
System.String |
setHeightFilePath |
|
System.String |
smoothFilePath |
|
System.Single |
setHeightScalar |
|
Returns
Type |
Description |
System.Collections.IEnumerator |
|
Test_StampTerrain_Playback(String, Single)
Declaration
public IEnumerator Test_StampTerrain_Playback(string recordingFilePath, float stampHeight)
Parameters
Type |
Name |
Description |
System.String |
recordingFilePath |
|
System.Single |
stampHeight |
|
Returns
Type |
Description |
System.Collections.IEnumerator |
|