DirectionMapApplier Class
A map applier that repeats the map along the direction of the mesh.
NuGet/Assembly: Carmenta.Engine.5.17.0.nupkg (in the CECore assembly)
Syntax
public class DirectionMapApplier : MapApplierRemarks
A DirectionMapApplier applies a map (e.g. ImageTextureMap) to the surface of a mesh by tiling (repeating) it along the direction of the mesh. Only meshes of strip type is said to have a direction, therefore this map applier does only make sense when used on strip meshes. The bounds property of the map is used to determine how large a tile (repeat) should be.
![]() |
Inheritance Hierarchy
System.Object
EngineObject
ResourceObject
MapApplier
DirectionMapApplier
Platforms
Windows, Linux, Android
DirectionMapApplier Members
The DirectionMapApplier type has the following members.
Constructors
| Name | Description |
|---|---|
| DirectionMapApplier | Initializes a new instance of the DirectionMapApplier class. |
Properties
| Name | Description |
|---|---|
| Horizontal | Gets or sets a flag specifying if tiles should always stay horizontal. |
| IsDisposed | Gets a value that tells whether the current DirectionMapApplier has been disposed. Inherited from EngineObject |
| Name | Gets or sets the name of the DirectionMapApplier. Inherited from ResourceObject |
| NativeHandle | Gets the native Carmenta Engine kernel object the current DirectionMapApplier represents. Inherited from EngineObject |
| Offset | Gets or sets a value offsetting the map before it is applied. |
| RoundU | Gets or sets a flag specifying that the number of tiles in the U direction of the map should be rounded to the nearest integer. |
| RoundV | Gets or sets a flag specifying that the number of tiles in the V direction of the map should be rounded to the nearest integer. |
| Scale | Gets or sets a value scaling the map before it is applied. |
| Type | Gets or sets a value specifying how the map should be repeated. |
| IUserProperties.UserProperties | Gets the AttributeSet that contains the user properties. Inherited from IUserProperties |
Methods
| Name | Description |
|---|---|
| Clone | Creates a copy of an object. Inherited from EngineObject |
| Dispose | Releases the reference to the native Carmenta Engine kernel instance the EngineObject represents. Inherited from EngineObject |
| Equals | Determines whether this instance is equal to another. Inherited from EngineObject |
