int ComponentVersion { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The ComponentVersion property of the Terrain class represents the version of the component. This property is virtual, allowing derived classes to override it if necessary. It is an integer value that can be used to track changes or updates to the component over time.

Usage

Use the ComponentVersion property to get or set the version number of the Terrain component. This can be useful for managing updates or ensuring compatibility with different versions of the component.

Example

// Example of accessing the ComponentVersion property
Terrain terrain = new Terrain();
int version = terrain.ComponentVersion;

// Example of setting the ComponentVersion property
terrain.ComponentVersion = 2;