正在准备搜索索引...
搜索索引不可用
LayaAir3引擎API
LayaAir3引擎API
laya/tilemap/terrain/TileMapTerrainUtils
TileMapTerrainUtil
类 TileMapTerrainUtil
索引
构造函数
constructor
属性
shape_
mode_
map
temp_
vec2
temp_
vec3
方法
get
Chunk
Cell
Info
get
Neighbor
Gird_
Half
Offset
get
Neighbor
Gird_
Isometric
get
Neighbor
Gird_
Square
get
Neighbor
Object
get
Overlap_
Half
Offset
get
Overlap_
Isometric
get
Overlap_
Square
get
Rule
Info_
Half
Offset
get
Rule
Info_
Isometric
get
Rule
Info_
Square
构造函数
constructor
new
TileMapTerrainUtil
()
:
TileMapTerrainUtil
返回
TileMapTerrainUtil
属性
静态
shape_
mode_
map
shape_mode_map
:
Map
<
TileShape
,
NeighborObject
>
= ...
静态
temp_
vec2
temp_vec2
:
Vector2
= ...
静态
temp_
vec3
temp_vec3
:
Vector3
= ...
方法
静态
get
Chunk
Cell
Info
getChunkCellInfo
(
layer
:
TileMapLayer
,
vec2
:
TTerrainVector2
)
:
ChunkCellInfo
参数
layer
:
TileMapLayer
vec2
:
TTerrainVector2
返回
ChunkCellInfo
静态
get
Neighbor
Gird_
Half
Offset
getNeighborGird_HalfOffset
(
x
:
number
,
y
:
number
,
neighbor
:
TileMapCellNeighbor
,
out
:
IV2
,
)
:
void
参数
x
:
number
y
:
number
neighbor
:
TileMapCellNeighbor
out
:
IV2
返回
void
静态
get
Neighbor
Gird_
Isometric
getNeighborGird_Isometric
(
x
:
number
,
y
:
number
,
neighbor
:
TileMapCellNeighbor
,
out
:
IV2
,
)
:
void
参数
x
:
number
y
:
number
neighbor
:
TileMapCellNeighbor
out
:
IV2
返回
void
静态
get
Neighbor
Gird_
Square
getNeighborGird_Square
(
x
:
number
,
y
:
number
,
neighbor
:
TileMapCellNeighbor
,
out
:
IV2
,
)
:
void
参数
x
:
number
y
:
number
neighbor
:
TileMapCellNeighbor
out
:
IV2
返回
void
静态
get
Neighbor
Object
getNeighborObject
(
shape
:
TileShape
)
:
NeighborObject
参数
shape
:
TileShape
返回
NeighborObject
静态
get
Overlap_
Half
Offset
getOverlap_HalfOffset
(
x
:
number
,
y
:
number
,
data
:
number
,
vec2Map
:
TerrainVector2Set
,
outs
:
TTerrainVector2
[]
,
)
:
void
参数
x
:
number
y
:
number
data
:
number
vec2Map
:
TerrainVector2Set
outs
:
TTerrainVector2
[]
返回
void
静态
get
Overlap_
Isometric
getOverlap_Isometric
(
x
:
number
,
y
:
number
,
data
:
number
,
vec2Map
:
TerrainVector2Set
,
outs
:
TTerrainVector2
[]
,
)
:
void
参数
x
:
number
y
:
number
data
:
number
vec2Map
:
TerrainVector2Set
outs
:
TTerrainVector2
[]
返回
void
静态
get
Overlap_
Square
getOverlap_Square
(
x
:
number
,
y
:
number
,
data
:
number
,
vec2Map
:
TerrainVector2Set
,
outs
:
TTerrainVector2
[]
,
)
:
void
参数
x
:
number
y
:
number
data
:
number
vec2Map
:
TerrainVector2Set
outs
:
TTerrainVector2
[]
返回
void
静态
get
Rule
Info_
Half
Offset
getRuleInfo_HalfOffset
(
rule
:
TileMapTerrainRule
,
neighbor
:
TileMapCellNeighbor
,
)
:
void
参数
rule
:
TileMapTerrainRule
neighbor
:
TileMapCellNeighbor
返回
void
静态
get
Rule
Info_
Isometric
getRuleInfo_Isometric
(
rule
:
TileMapTerrainRule
,
neighbor
:
TileMapCellNeighbor
,
)
:
void
参数
rule
:
TileMapTerrainRule
neighbor
:
TileMapCellNeighbor
返回
void
静态
get
Rule
Info_
Square
getRuleInfo_Square
(
rule
:
TileMapTerrainRule
,
neighbor
:
TileMapCellNeighbor
,
)
:
void
参数
rule
:
TileMapTerrainRule
neighbor
:
TileMapCellNeighbor
返回
void
切换版本:
显示设置
成员可见性
继承
外部
配色
自动
浅色
深色
目录
构造函数
constructor
属性
shape_
mode_
map
temp_
vec2
temp_
vec3
方法
get
Chunk
Cell
Info
get
Neighbor
Gird_
Half
Offset
get
Neighbor
Gird_
Isometric
get
Neighbor
Gird_
Square
get
Neighbor
Object
get
Overlap_
Half
Offset
get
Overlap_
Isometric
get
Overlap_
Square
get
Rule
Info_
Half
Offset
get
Rule
Info_
Isometric
get
Rule
Info_
Square
LayaAir3引擎API
加载中……