UE3:DynamicSMActor (UDK)
- Package:
- Engine
- Direct subclasses:
- DynamicSMActor_Spawnable, InterpActor, KActor, UTSimpleDestroyable
- This class in other games:
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
DynamicSMActor. A non-static version of StaticMeshActor. This class is abstract, but used as a base class for things like KActor and InterpActor.
Properties
Property group 'DynamicSMActor'
bPawnCanBaseOn
Type: bool
If a Pawn can be 'based' on this KActor. If not, they will 'bounce' off when they try to.
Default value: True
bSafeBaseIfAsleep
Type: bool
Pawn can base on this KActor if it is asleep -- Pawn will disable KActor physics while based
LightEnvironment
Type: DynamicLightEnvironmentComponent
Modifiers: const, editconst
Default value: DynamicLightEnvironmentComponent'MyLightEnvironment'
StaticMeshComponent
Type: StaticMeshComponent
Modifiers: const, editconst
Default value: StaticMeshComponent'StaticMeshComponent0'
Internal variables
bForceStaticDecals
Type: bool
Modifiers: repnotify
used to replicate StaticMeshComponent.bForceStaticDecals
ReplicatedMaterial
Type: MaterialInterface
Modifiers: repnotify
used to replicate the material in index 0
ReplicatedMesh
Type: StaticMesh
Modifiers: repnotify, transient
Used to replicate mesh to clients
ReplicatedMeshRotation
Type: Object.Rotator
Modifiers: repnotify
ReplicatedMeshScale3D
Type: Object.Vector
Modifiers: repnotify
ReplicatedMeshTranslation
Type: Object.Vector
Modifiers: repnotify
Extra component properties to replicate
Default values
Subobjects
MyLightEnvironment
Class: Engine.DynamicLightEnvironmentComponent
No new values.
StaticMeshComponent0
Class: Engine.StaticMeshComponent
Property | Value |
---|---|
BlockRigidBody | False |
LightEnvironment | DynamicLightEnvironmentComponent'Engine.Default__DynamicSMActor:MyLightEnvironment' |
ReplacementPrimitive | None |
Functions
Events
Attach
Overrides: Actor.Attach
If pawn is attached while asleep, turn off physics while pawn is on it
Detach
Overrides: Actor.Detach
If pawn is detached, turn back on physics (make sure no other pawns are based on it)
PostBeginPlay
Overrides: Actor.PostBeginPlay
ReplicatedEvent
Overrides: Actor.ReplicatedEvent
Other instance functions
CanBasePawn
Query to see if this DynamicSMActor can base the given Pawn
OnSetMaterial
OnSetMesh
SetLightEnvironmentToNotBeDynamic
This will turn "off" the light environment so it will no longer update. This is useful for having a Timer call this once something has come to a stop and doesn't need 100% correct lighting.
SetStaticMesh