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

Engine.LevelStreamingPersistent


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
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
/**
 * LevelStreamingPersistent
 *
 * @documentation
 *
 * Copyright 1998-2011 Epic Games, Inc. All Rights Reserved.
 */
class LevelStreamingPersistent extends LevelStreaming
	transient
	native;

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
	 */
	virtual UBOOL ShouldBeLoaded( const FVector& ViewLocation )
	{
		return TRUE;
	}

	/**
	 * Returns whether this level should be visible/ associated with the world if it is
	 * loaded.
	 * 
	 * @param ViewLocation	Location of the viewer
	 * @return TRUE
	 */
	virtual UBOOL ShouldBeVisible( const FVector& ViewLocation )
	{
		return TRUE;
	}
}

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