DayZ Enforce
Script API
Private Member Functions | List of all members
World Class Reference

#include <gameplay.h>

Private Member Functions

proto void  GetPlayerList (out array< Man > players)
 
proto void  GetDate (out int year, out int month, out int day, out int hour, out int minute)
 
proto void  SetDate (int year, int month, int day, int hour, int minute)
 
proto float  GetLatitude ()
 
proto float  GetLongitude ()
 
proto float  GetMoonIntensity ()
 
proto float  GetSunOrMoon ()
 
proto float  GetEyeAccom ()
 
proto void  SetEyeAccom (float eyeAccom)
 
proto void  SetCameraEffect (Object obj, string name, int pos, bool infinite)
 
proto void  StartFpsBenchmark (int sectorsCount, float preloadDistance, float minFps, float maxFps)
 
proto void  StartFpsBenchmarkViews (string xmlFileName, float preloadDistance)
 
proto Material  GetMaterial (string materialName)
 
proto void  SetCameraPostProcessEffect (int cam, int ppEffect, string effectName, string materialName)
 
void  SetAperture (float invDiameter)
 

Member Function Documentation

proto void World::GetPlayerList ( out array< Man players )
private
proto void World::GetDate ( out int  year,
out int  month,
out int  day,
out int  hour,
out int  minute 
)
private
proto void World::SetDate ( int  year,
int  month,
int  day,
int  hour,
int  minute 
)
private
proto float World::GetLatitude ( )
private
proto float World::GetLongitude ( )
private
proto float World::GetMoonIntensity ( )
private
proto float World::GetSunOrMoon ( )
private
proto float World::GetEyeAccom ( )
private
proto void World::SetEyeAccom ( float  eyeAccom )
private

Referenced by SetAperture().

proto void World::SetCameraEffect ( Object  obj,
string  name,
int  pos,
bool  infinite 
)
private
proto void World::StartFpsBenchmark ( int  sectorsCount,
float  preloadDistance,
float  minFps,
float  maxFps 
)
private
proto void World::StartFpsBenchmarkViews ( string  xmlFileName,
float  preloadDistance 
)
private
proto Material World::GetMaterial ( string  materialName )
private
Material matColors = GetGame().GetWorld().GetMaterial("postprocess/colors");
SetMaterialParam(matColors, "Saturation", 0.8);
proto void World::SetCameraPostProcessEffect ( int  cam,
int  ppEffect,
string  effectName,
string  materialName 
)
private

set new PP effect and its material

Parameters
camera number of camera
effectIndex index of effect
effectName name of effect
matName name of material
void World::SetAperture ( float  invDiameter )
private

The documentation for this class was generated from the following files:
Converted from CHM to HTML with chm2web Pro 2.85 (unicode)