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

Engine.MeshComponent

Extends
PrimitiveComponent
Modifiers
native noexport abstract

Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.

Core.Object
|   
+-- Core.Component
   |   
   +-- Engine.ActorComponent
      |   
      +-- Engine.PrimitiveComponent
         |   
         +-- Engine.MeshComponent

Direct Known Subclasses:

SkeletalMeshComponent, StaticMeshComponent

Variables Summary
Rendering
array<MaterialInterface>Materials
Inherited Variables from Engine.PrimitiveComponent
AbsoluteRotation, AbsoluteScale, AbsoluteTranslation, AlwaysLoadOnClient, AlwaysLoadOnServer, bAcceptsDecals, bAcceptsDecalsDuringGameplay, bAcceptsDynamicLights, bAcceptsFoliage, bAcceptsLights, bAllowApproximateOcclusion, bAllowCullDistanceVolume, bCastDynamicShadow, bCastHiddenShadow, bDisableAllRigidBody, bFluidDrain, bFluidTwoWay, bForceDirectLightMap, bForceMipStreaming, bIgnoreForceField, bIgnoreHiddenActorsMembership, bIgnoreOwnerHidden, bIgnoreRadialForce, bIgnoreRadialImpulse, bIsRefreshingDecals, BlockActors, BlockNonZeroExtent, BlockRigidBody, BlockZeroExtent, bNotifyRigidBodyCollision, BodyInstance, bOnlyOwnerSee, Bounds, bOwnerNoSee, bUseAsOccluder, bUseCompartment, bUsePrecomputedShadows, bUseViewOwnerDepthPriorityGroup, bWasSNFiltered, CachedCullDistance, CachedParentToWorld, CastShadow, CollideActors, CullDistance, DecalList, DepthPriorityGroup, DetachFence, DetailMode, FogVolumeComponent, HiddenEditor, HiddenGame, LastRenderTime, LastSubmitTime, LightEnvironment, LightingChannels, LocalToWorld, LocalToWorldDeterminant, MotionBlurInfoIndex, MotionBlurScale, OctreeNodes, PhysMaterialOverride, RBChannel, RBCollideWithChannels, RBDominanceGroup, RigidBodyIgnorePawns, Rotation, Scale, Scale3D, SceneInfo, ScriptRigidBodyCollisionThreshold, ShadowParent, Tag, Translation, TranslucencySortPriority, ViewOwnerDepthPriorityGroup
Inherited Variables from Engine.ActorComponent
bAttached, bNeedsReattach, bNeedsUpdateTransform, bTickInEditor, Owner, Scene, TickGroup

Enumerations Summary
Inherited Enumerations from Engine.PrimitiveComponent
ERadialImpulseFalloff, ERBCollisionChannel

Structures Summary
Inherited Structures from Engine.PrimitiveComponent
MaterialViewRelevance, RBCollisionChannelContainer

Functions Summary
functionMaterialInstanceConstant CreateAndSetMaterialInstanceConstant (int ElementIndex))
functionMaterialInstanceTimeVarying CreateAndSetMaterialInstanceTimeVarying (int ElementIndex))
functionMaterialInterface GetMaterial (int ElementIndex)
functionint GetNumElements ()
function SetMaterial (int ElementIndex, MaterialInterface Material)
Inherited Functions from Engine.PrimitiveComponent
AddForce, AddImpulse, AddRadialForce, AddRadialImpulse, GetPosition, GetRootBodyInstance, PutRigidBodyToSleep, RigidBodyIsAwake, SetAbsolute, SetActorCollision, SetBlockRigidBody, SetCullDistance, SetDepthPriorityGroup, SetHidden, SetIgnoreOwnerHidden, SetLightEnvironment, SetLightingChannels, SetNotifyRigidBodyCollision, SetOnlyOwnerSee, SetOwnerNoSee, SetPhysMaterialOverride, SetRBAngularVelocity, SetRBChannel, SetRBCollidesWithChannel, SetRBDominanceGroup, SetRBLinearVelocity, SetRBPosition, SetRBRotation, SetRotation, SetScale, SetScale3D, SetShadowParent, SetTraceBlocking, SetTranslation, SetViewOwnerDepthPriorityGroup, WakeRigidBody
Inherited Functions from Engine.ActorComponent
ForceUpdate, SetComponentRBFixed, SetTickGroup


Variables Detail

Rendering

Materials Source code

var(Rendering) const array<MaterialInterface> Materials;


Functions Detail

CreateAndSetMaterialInstanceConstant Source code

function MaterialInstanceConstant CreateAndSetMaterialInstanceConstant ( int ElementIndex) )
Creates a material instance for the specified element index. The parent of the instance is set to the material being replaced.
@param ElementIndex - The index of the skin to replace the material for.

CreateAndSetMaterialInstanceTimeVarying Source code

function MaterialInstanceTimeVarying CreateAndSetMaterialInstanceTimeVarying ( int ElementIndex) )
Creates a material instance for the specified element index. The parent of the instance is set to the material being replaced.
@param ElementIndex - The index of the skin to replace the material for.

GetMaterial Source code

native function MaterialInterface GetMaterial ( int ElementIndex )

@param ElementIndex - The element to access the material of.
@return the material used by the indexed element of this mesh.

GetNumElements Source code

native function int GetNumElements ( )

@return The total number of elements in the mesh.

SetMaterial Source code

native function SetMaterial ( int ElementIndex, MaterialInterface Material )
Changes the material applied to an element of the mesh.
@param ElementIndex - The element to access the material of.
@return the material used by the indexed element of this mesh.


Defaultproperties

defaultproperties
{
   bUseAsOccluder=True
   CastShadow=True
   bAcceptsLights=True
   Name="Default__MeshComponent"
   ObjectArchetype=PrimitiveComponent'Engine.Default__PrimitiveComponent'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: sk 18-3-2018 10:00:39.767 - Created with UnCodeX