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

Engine.StaticMeshComponent


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
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
/**
 * Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.
 */
class StaticMeshComponent extends MeshComponent
	native
	noexport
	AutoExpandCategories(Collision,Rendering,Lighting)
	hidecategories(Object)
	editinlinenew;

var int			ForcedLodModel; // if 0, auto-select LOD level. if >0, force to (ForcedLodModel-1)
var int			PreviousLODLevel; // Previous LOD level

var() const StaticMesh StaticMesh;
var() Color WireframeColor;

/**
 *	Ignore this instance of this static mesh when calculating streaming information.
 *	This can be useful when doing things like applying character textures to static geometry,
 *	to avoid them using distance-based streaming.
 */
var()	bool	bIgnoreInstanceForTextureStreaming;

/** Whether to override the lightmap resolution defined in the static mesh */
var() const bool bOverrideLightMapResolution;
/** Light map resolution used if bOverrideLightMapResolution is TRUE */
var() const int	 OverriddenLightMapResolution;


/** Subdivision step size for static vertex lighting.				*/
var(AdvancedLighting) const int	SubDivisionStepSize;
/** Minimum number of subdivisions, needs to be at least 2.			*/
var(AdvancedLighting) const int MinSubDivisions;
/** Maximum number of subdivisions.									*/
var(AdvancedLighting) const int MaxSubDivisions;
/** Whether to use subdivisions or just the triangle's vertices.	*/
var(AdvancedLighting) const bool bUseSubDivisions;

var const array<Guid>	IrrelevantLights;

struct StaticMeshComponentLODInfo
{
	var private const array<ShadowMap2D> ShadowMaps;
	var private const array<Object> ShadowVertexBuffers;
	var native private const pointer LightMap{FLightMap};
};

var native private const array<StaticMeshComponentLODInfo> LODData;

/** Change the StaticMesh used by this instance. */
simulated native final function SetStaticMesh( StaticMesh NewMesh );

defaultproperties
{
   WireframeColor=(B=255,G=255,R=0,A=255)
   bOverrideLightMapResolution=True
   SubDivisionStepSize=16
   MinSubDivisions=2
   MaxSubDivisions=8
   bUseSubDivisions=True
   bAcceptsDecals=True
   bUsePrecomputedShadows=True
   CollideActors=True
   BlockActors=True
   BlockZeroExtent=True
   BlockNonZeroExtent=True
   BlockRigidBody=True
   TickGroup=TG_PreAsyncWork
   Name="Default__StaticMeshComponent"
   ObjectArchetype=MeshComponent'Engine.Default__MeshComponent'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: tr 31-1-2018 17:17:58.000 - Creation time: sk 18-3-2018 10:01:14.637 - Created with UnCodeX