C# Class TerrainDisplay.MPQ.ADT.Components.MCNK

Class for the MCNK chunk (vertex information for the ADT)
Show file Open project: WCell/WCell-Terrain

Public Properties

Property Type Description
AreaId int
Flags int
Holes ushort
IndexX int
IndexY int
X float
Y float
Z float
effectId int
nDoodadRefs uint
nEffectDoodad byte[]
nLayers uint
nMapObjRefs uint
nSndEmitters uint
offsColorValues int
ofsAlpha uint
ofsHeight uint
ofsLayer uint
ofsLiquid uint
ofsNormal uint
ofsRefs uint
ofsShadow uint
ofsSndEmitters uint
predTex ushort[]
props int
sizeAlpha uint
sizeLiquid uint
sizeShadow uint

Public Methods

Method Description
GetHolesMap ( ) : ].bool[
MCNK ( ) : System
MCNK ( float x, float y, float z, UInt16 holes ) : System

Constructor

Method Details

GetHolesMap() public method

public GetHolesMap ( ) : ].bool[
return ].bool[

MCNK() public method

public MCNK ( ) : System
return System

MCNK() public method

Constructor
public MCNK ( float x, float y, float z, UInt16 holes ) : System
x float X position of the MCNK
y float Y position of the MCNK
z float Z position of the MCNK
holes System.UInt16 Holes in this MCNK
return System

Property Details

AreaId public property

public int AreaId
return int

Flags public property

public int Flags
return int

Holes public property

Holes of the MCNK
public ushort Holes
return ushort

IndexX public property

public int IndexX
return int

IndexY public property

public int IndexY
return int

X public property

X position of the MCNK
public float X
return float

Y public property

Y position of the MCNK
public float Y
return float

Z public property

Z position of the MCNK
public float Z
return float

effectId public property

public int effectId
return int

nDoodadRefs public property

public uint nDoodadRefs
return uint

nEffectDoodad public property

public byte[] nEffectDoodad
return byte[]

nLayers public property

public uint nLayers
return uint

nMapObjRefs public property

public uint nMapObjRefs
return uint

nSndEmitters public property

public uint nSndEmitters
return uint

offsColorValues public property

Offset to the MCCV chunk, if present
public int offsColorValues
return int

ofsAlpha public property

Offset to the MCAL chunk
public uint ofsAlpha
return uint

ofsHeight public property

Offset to the MCVT chunk
public uint ofsHeight
return uint

ofsLayer public property

Offset to the MCLY chunk
public uint ofsLayer
return uint

ofsLiquid public property

Offset to the MCLQ chunk (deprecated)
public uint ofsLiquid
return uint

ofsNormal public property

Offset to the MCNR chunk
public uint ofsNormal
return uint

ofsRefs public property

Offset to the MCRF chunk
public uint ofsRefs
return uint

ofsShadow public property

Offset to the MCSH chunk
public uint ofsShadow
return uint

ofsSndEmitters public property

Offset to the MCSE chunk
public uint ofsSndEmitters
return uint

predTex public property

public ushort[] predTex
return ushort[]

props public property

public int props
return int

sizeAlpha public property

public uint sizeAlpha
return uint

sizeLiquid public property

public uint sizeLiquid
return uint

sizeShadow public property

public uint sizeShadow
return uint