Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

Engine.LevelStreamingDistance


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
/**
 * LevelStreamingDistance
 *
 * Distance based streaming implementation.
 *
 * Copyright 1998-2011 Epic Games, Inc. All Rights Reserved.
 */
class LevelStreamingDistance extends LevelStreaming
	native;


/** Origin of level used for distance calculation to viewer				*/
var()	vector	Origin;
/** Maximum distance to viewer at which the level still is streamed in	*/
var()	float	MaxDistance;

cpptext
{
	/**
	 * Returns whether this level should be present in memory which in turn tells the 
	 * streaming code to stream it in. Please note that a change in value from FALSE 
	 * to TRUE only tells the streaming code that it needs to START streaming it in 
	 * so the code needs to return TRUE an appropriate amount of time before it is 
	 * needed.
	 *
	 * @param ViewLocation	Location of the viewer
	 * @return TRUE if level should be loaded/ streamed in, FALSE otherwise
	 */
	virtual UBOOL ShouldBeLoaded( const FVector& ViewLocation );
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: to 6-1-2011 07:10:42.000 - Creation time: ti 22-3-2011 19:57:07.573 - Created with UnCodeX