Cocos2d-x  v3.10
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups
Terrain::DetailMap Struct Reference

This struct maintain a detail map data ,including source file ,detail size. More...

Public Member Functions

 DetailMap (const std::string &detailMapSrc, float size=35)
 Constructors detail map texture. More...
 
 DetailMap ( var detailMapSrc, var 35)
 Constructors detail map texture. More...
 
 DetailMap ( local detailMapSrc, local 35)
 Constructors detail map texture. More...
 

Detailed Description

This struct maintain a detail map data ,including source file ,detail size.

The DetailMap can use for terrain splatting

Constructor & Destructor Documentation

DetailMap ( const std::string &  detailMapSrc,
float  size = 35 
)

Constructors detail map texture.

detial map size.

var DetailMap ( var  detailMapSrc,
var  size = 35 
)

Constructors detail map texture.

detial map size.

local DetailMap ( local  detailMapSrc,
local  size = 35 
)

Constructors detail map texture.

detial map size.


The documentation for this struct was generated from the following file: