C# Class HaloMap.Render.SpawnInfo.SoundSpawn

The sound spawn.
Inheritance: ScaleRotateYawPitchRollSpawn
Show file Open project: troymac1ure/Entity

Public Properties

Property Type Description
ConeAngleLower float
ConeAngleUpper float
DistanceBoundsLower float
DistanceBoundsUpper float
Height float
OuterConeGain float
VolumeType int

Public Methods

Method Description
Read ( Map map ) : void

Reads the Sound Spawn meta chunk info from the map MemoryStream.

map.BR.BaseStream.Position must be set to start of chunk data.

SoundSpawn scnr offst = 216

SoundSpawn chunk size = 80

SoundSpawn ( ) : System

Initializes a new instance of the SoundSpawn class.

Write ( Map map ) : void

Writes the Sound Spawn meta chunk info to the map MemoryStream.

SoundSpawn scnr offst = 216

SoundSpawn chunk size = 80

Method Details

Read() public method

Reads the Sound Spawn meta chunk info from the map MemoryStream.

map.BR.BaseStream.Position must be set to start of chunk data.

SoundSpawn scnr offst = 216

SoundSpawn chunk size = 80

public Read ( Map map ) : void
map HaloMap.Map.Map The HaloMap.Map.Map
return void

SoundSpawn() public method

Initializes a new instance of the SoundSpawn class.
public SoundSpawn ( ) : System
return System

Write() public method

Writes the Sound Spawn meta chunk info to the map MemoryStream.

SoundSpawn scnr offst = 216

SoundSpawn chunk size = 80

public Write ( Map map ) : void
map HaloMap.Map.Map The HaloMap.Map.Map
return void

Property Details

ConeAngleLower public property

The cone angle lower.
public float ConeAngleLower
return float

ConeAngleUpper public property

The cone angle upper.
public float ConeAngleUpper
return float

DistanceBoundsLower public property

The distance bounds lower.
public float DistanceBoundsLower
return float

DistanceBoundsUpper public property

The distance bounds upper.
public float DistanceBoundsUpper
return float

Height public property

The height.
public float Height
return float

OuterConeGain public property

The outer cone gain.
public float OuterConeGain
return float

VolumeType public property

The volume type.
public int VolumeType
return int