Class World
Namespace: ValveResourceFormat.ResourceTypes
Assembly: ValveResourceFormat.dll
Represents a world resource.
public class World : KeyValuesOrNTROInheritance
object ← Block ← KeyValuesOrNTRO ← World
Inherited Members
KeyValuesOrNTRO.Type, KeyValuesOrNTRO.Data, KeyValuesOrNTRO.Format, KeyValuesOrNTRO.Read(BinaryReader), KeyValuesOrNTRO.Serialize(Stream), KeyValuesOrNTRO.WriteText(IndentedTextWriter), Block.Type, Block.Offset, Block.Size, Block.Resource, Block.Read(BinaryReader), Block.ToString(), Block.WriteText(IndentedTextWriter), Block.Serialize(Stream)
Extension Methods
ResourceDataExtensions.AsKeyValueCollection(Block)
Methods
GetEntityLumpNames()
Gets the entity lump names.
public IReadOnlyCollection<string> GetEntityLumpNames()Returns
IReadOnlyCollection<string>
GetLightmapUvScale()
Gets the scale to apply to lightmap UVs when sampling lightmaps, Vector2.One when not applicable.
public Vector2 GetLightmapUvScale()Returns
GetWorldLightingInfo()
Gets the world lighting information.
public KVObject GetWorldLightingInfo()Returns
KVObject
GetWorldNodeNames()
Gets the world node names.
public IReadOnlyCollection<string> GetWorldNodeNames()Returns
IReadOnlyCollection<string>

