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

Class for the MCNK chunk (vertex information for the ADT)
Datei anzeigen 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_oe property

public int AreaId
return int

Flags public_oe property

public int Flags
return int

Holes public_oe property

Holes of the MCNK
public ushort Holes
return ushort

IndexX public_oe property

public int IndexX
return int

IndexY public_oe property

public int IndexY
return int

X public_oe property

X position of the MCNK
public float X
return float

Y public_oe property

Y position of the MCNK
public float Y
return float

Z public_oe property

Z position of the MCNK
public float Z
return float

effectId public_oe property

public int effectId
return int

nDoodadRefs public_oe property

public uint nDoodadRefs
return uint

nEffectDoodad public_oe property

public byte[] nEffectDoodad
return byte[]

nLayers public_oe property

public uint nLayers
return uint

nMapObjRefs public_oe property

public uint nMapObjRefs
return uint

nSndEmitters public_oe property

public uint nSndEmitters
return uint

offsColorValues public_oe property

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

ofsAlpha public_oe property

Offset to the MCAL chunk
public uint ofsAlpha
return uint

ofsHeight public_oe property

Offset to the MCVT chunk
public uint ofsHeight
return uint

ofsLayer public_oe property

Offset to the MCLY chunk
public uint ofsLayer
return uint

ofsLiquid public_oe property

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

ofsNormal public_oe property

Offset to the MCNR chunk
public uint ofsNormal
return uint

ofsRefs public_oe property

Offset to the MCRF chunk
public uint ofsRefs
return uint

ofsShadow public_oe property

Offset to the MCSH chunk
public uint ofsShadow
return uint

ofsSndEmitters public_oe property

Offset to the MCSE chunk
public uint ofsSndEmitters
return uint

predTex public_oe property

public ushort[] predTex
return ushort[]

props public_oe property

public int props
return int

sizeAlpha public_oe property

public uint sizeAlpha
return uint

sizeLiquid public_oe property

public uint sizeLiquid
return uint

sizeShadow public_oe property

public uint sizeShadow
return uint