engine
 
载入中...
搜索中...
未找到
Protected 成员函数 | 所有成员列表
UPostProcessComponent类 参考

PostProcessComponent. 更多...

#include <PostProcessComponent.h>

+ 类 UPostProcessComponent 继承关系图:

Protected 成员函数

virtual void OnRegister () override
 Called when a component is registered, after Scene is set, but before CreateRenderState_Concurrent or OnCreatePhysicsState are called.
 
virtual void OnUnregister () override
 Called when a component is unregistered. 更多...
 
virtual void Serialize (FArchive &Ar) override
 Handles reading, writing, and reference collecting using FArchive. 更多...
 
- Protected 成员函数 继承自 USceneComponent
FORCEINLINE bool AreDynamicDataChangesAllowed (bool bIgnoreStationary=true) const
 Determine if dynamic data is allowed to be changed. 更多...
 
FORCEINLINE FTransform CalcNewComponentToWorld (const FTransform &NewRelativeTransform, const USceneComponent *Parent=nullptr, FName SocketName=NAME_None) const
 Calculate the new ComponentToWorld transform for this component. 更多...
 
FTransform CalcNewComponentToWorld_GeneralCase (const FTransform &NewRelativeTransform, const USceneComponent *Parent, FName SocketName) const
 Utility function to handle calculating transform with a parent
 
bool CheckStaticMobilityAndWarn (const FText &ActionText) const
 Check if mobility is set to non-static. 更多...
 
bool InternalSetWorldLocationAndRotation (FVector NewLocation, const FQuat &NewQuat, bool bNoPhysics=false, ETeleportType Teleport=ETeleportType::None)
 Internal helper, for use from MoveComponent(). 更多...
 
virtual bool MoveComponentImpl (const FVector &Delta, const FQuat &NewRotation, bool bSweep, FHitResult *Hit=NULL, EMoveComponentFlags MoveFlags=MOVECOMP_NoFlags, ETeleportType Teleport=ETeleportType::None)
 Override this method for custom behavior for MoveComponent
 
virtual void OnChildAttached (USceneComponent *ChildComponent)
 Called after a child scene component is attached to this component. 更多...
 
virtual void OnChildDetached (USceneComponent *ChildComponent)
 Called after a child scene component is detached from this component. 更多...
 
virtual void OnHiddenInGameChanged ()
 Overridable internal function to respond to changes in the hidden in game value of the component.
 
virtual void OnUpdateTransform (EUpdateTransformFlags UpdateTransformFlags, ETeleportType Teleport=ETeleportType::None)
 Native callback when this component is moved
 
virtual void OnVisibilityChanged ()
 Overridable internal function to respond to changes in the visibility of the component.
 
void PostUpdateNavigationData ()
 Called after changing transform, tries to update navigation octree for owner
 
void UpdateNavigationData ()
 Called after changing transform, tries to update navigation octree for this component
 
virtual bool UpdateOverlapsImpl (const TOverlapArrayView *PendingOverlaps=nullptr, bool bDoNotifies=true, const TOverlapArrayView *OverlapsAtEndLocation=nullptr)
 Internal helper for UpdateOverlaps
 
- Protected 成员函数 继承自 UActorComponent
virtual void CreateRenderState_Concurrent (FRegisterComponentContext *Context)
 Used to create any rendering thread information for this component 更多...
 
virtual void DestroyRenderState_Concurrent ()
 Used to shut down any rendering thread structure for this component 更多...
 
void HandleCanEverAffectNavigationChange (bool bForceUpdate=false)
 Makes sure navigation system has up to date information regarding component's navigation relevancy and if it can affect navigation at all 更多...
 
virtual bool HasValidPhysicsState () const
 Used to check that DestroyPhysicsState() is working correctly
 
bool NeedsInitialization () const
 Convenience method for testing whether or not we are still be constructed / initialized.
 
virtual void OnCreatePhysicsState ()
 Used to create any physics engine information for this component
 
virtual void OnDestroyPhysicsState ()
 Used to shut down and physics engine structure for this component
 
virtual void OnRegister ()
 Called when a component is registered, after Scene is set, but before CreateRenderState_Concurrent or OnCreatePhysicsState are called.
 
virtual void OnUnregister ()
 Called when a component is unregistered. 更多...
 
bool OwnerNeedsInitialization () const
 Convenience method for testing whether or not our owner is still being constructed / initialized.
 
virtual void RegisterComponentTickFunctions (bool bRegister)
 Virtual call chain to register all tick functions 更多...
 
virtual void SendRenderDynamicData_Concurrent ()
 Called to send dynamic data for this component to the rendering thread
 
virtual void SendRenderTransform_Concurrent ()
 Called to send a transform update for this component to the rendering thread 更多...
 
void SetIsReplicatedByDefault (const bool bNewReplicates)
 Sets the value of bReplicates without causing other side effects to this instance. 更多...
 
virtual bool ShouldActivate () const
 Return true if this component is in a state where it can be activated normally.
 
virtual bool ShouldCreatePhysicsState () const
 Return true if CreatePhysicsState() should be called. 更多...
 
virtual bool ShouldCreateRenderState () const
 Return true if CreateRenderState() should be called
 
- Protected 成员函数 继承自 UObject
bool CanCheckDefaultSubObjects (bool bForceCheck, bool &bResult) const
 Checks it's ok to perform subobjects check at this time.
 
virtual bool CheckDefaultSubobjectsInternal () const
 Checks default sub-object assumptions. 更多...
 
virtual FString GetDetailedInfoInternal () const
 This function actually does the work for the GetDetailedInfo() and is virtual. 更多...
 
- Protected 成员函数 继承自 UObjectBase
virtual void DeferredRegister (UClass *UClassStaticClass, const TCHAR *PackageName, const TCHAR *Name)
 Convert a boot-strap registered class into a real one, add to uobject array, etc 更多...
 
void LowLevelRename (FName NewName, UObject *NewOuter=NULL)
 Just change the FName and Outer and rehash into name hash tables. 更多...
 
void Register (const TCHAR *PackageName, const TCHAR *Name)
 Enqueue the registration for this object.
 
virtual void RegisterDependencies ()
 Force any base classes to be registered first
 
FORCEINLINE void SetFlagsTo (EObjectFlags NewFlags)
 Set the object flags directly 更多...
 
 UObjectBase (EObjectFlags InFlags)
 Constructor used for bootstrapping 更多...
 

额外继承的成员函数

- Public 成员函数 继承自 USceneComponent
virtual void ApplyWorldOffset (const FVector &InOffset, bool bWorldShift) override
 Called by owner actor on position shifting Component should update all relevant data structures to reflect new actor location 更多...
 
bool AttachToComponent (USceneComponent *InParent, const FAttachmentTransformRules &AttachmentRules, FName InSocketName=NAME_None)
 Attach this component to another scene component, optionally at a named socket. 更多...
 
virtual void BeginDestroy () override
 Called before destroying the object. 更多...
 
virtual void CalcBoundingCylinder (float &CylinderRadius, float &CylinderHalfHeight) const
 Calculate the axis-aligned bounding cylinder of the component (radius in X-Y, half-height along Z axis). 更多...
 
virtual FBoxSphereBounds CalcBounds (const FTransform &LocalToWorld) const
 Calculate the bounds of the component. 更多...
 
virtual FBoxSphereBounds CalcLocalBounds () const
 Calculate the local bounds of the component. 更多...
 
virtual bool CanAttachAsChild (USceneComponent *ChildComponent, FName SocketName) const
 Called to see if it's possible to attach another scene component as a child. 更多...
 
bool CanEverRender () const
 return true if it can ever render
 
virtual const bool CanHaveStaticMobility () const
 Determines whether or not the component can have its mobility set to static
 
void ClearSkipUpdateOverlaps ()
 Clears the skip update overlaps flag. 更多...
 
void ConditionalUpdateComponentToWorld ()
 Call UpdateComponentToWorld if bComponentToWorldUpdated is false.
 
virtual void DestroyComponent (bool bPromoteChildren=false) override
 Unregister the component, remove it from its outer Actor's Components array and mark for pending kill.
 
virtual void DetachFromComponent (const FDetachmentTransformRules &DetachmentRules)
 Detach this component from whatever it is attached to. 更多...
 
virtual void DetachFromParent (bool bMaintainWorldPosition=false, bool bCallModify=true)
 DEPRECATED - Use DetachFromComponent() instead
 
virtual bool DoesSocketExist (FName InSocketName) const
 Return true if socket with the given name exists 更多...
 
TArray< FName > GetAllSocketNames () const
 Gets the names of all the sockets on the component. 更多...
 
const TArray< USceneComponent * > & GetAttachChildren () const
 Get the SceneComponents that are attached to this component.
 
USceneComponent * GetAttachmentRoot () const
 Walks up the attachment chain from this SceneComponent and returns the SceneComponent at the top. 更多...
 
AActor * GetAttachmentRootActor () const
 Walks up the attachment chain from this SceneComponent and returns the top-level actor it's attached to. 更多...
 
USceneComponent * GetAttachParent () const
 Get the SceneComponent we are attached to.
 
FName GetAttachSocketName () const
 Get the socket we are attached to.
 
USceneComponent * GetChildComponent (int32 ChildIndex) const
 Gets the attached child component at the specified location
 
void GetChildrenComponents (bool bIncludeAllDescendants, TArray< USceneComponent * > &Children) const
 Gets all components that are attached to this component, possibly recursively 更多...
 
virtual ECollisionEnabled::Type GetCollisionEnabled () const
 Returns the form of collision for this component
 
virtual ECollisionChannel GetCollisionObjectType () const
 Returns the channel that this component belongs to when it moves.
 
virtual ECollisionResponse GetCollisionResponseToChannel (ECollisionChannel Channel) const
 Returns the response that this component has to a specific collision channel.
 
virtual const FCollisionResponseContainer & GetCollisionResponseToChannels () const
 Return const reference to CollsionResponseContainer
 
ECollisionResponse GetCollisionResponseToComponent (USceneComponent *OtherComponent) const
 Compares the CollisionObjectType of each component against the Response of the other, to see what kind of response we should generate
 
virtual TStructOnScope< FActorComponentInstanceData > GetComponentInstanceData () const override
 Called before we throw away components during RerunConstructionScripts, to cache any data we wish to persist across that operation
 
FORCEINLINE FVector GetComponentLocation () const
 Return location of the component, in world space
 
FORCEINLINE FQuat GetComponentQuat () const
 Return rotation quaternion of the component, in world space
 
FORCEINLINE FRotator GetComponentRotation () const
 Return rotation of the component, in world space
 
FORCEINLINE FVector GetComponentScale () const
 Return scale of the component, in world space
 
FORCEINLINE const FTransform & GetComponentToWorld () const
 Get the current component-to-world transform for this component TODO: probably deprecate this in favor of GetComponentTransform
 
FORCEINLINE const FTransform & GetComponentTransform () const
 Get the current component-to-world transform for this component
 
virtual FVector GetComponentVelocity () const
 Get velocity of the component: either ComponentVelocity, or the velocity of the physics body if simulating physics. 更多...
 
class FScopedMovementUpdate * GetCurrentScopedMovement () const
 Returns the current scoped movement update, or NULL if there is none. 更多...
 
FVector GetForwardVector () const
 Get the forward (X) unit direction vector from this component, in world space. 更多...
 
virtual void GetLifetimeReplicatedProps (TArray< FLifetimeProperty > &OutLifetimeProps) const override
 Returns properties that are replicated for the lifetime of the actor channel
 
int32 GetNumChildrenComponents () const
 Gets the number of attached children components
 
void GetParentComponents (TArray< USceneComponent * > &Parents) const
 Gets all attachment parent components up to and including the root component
 
APhysicsVolume * GetPhysicsVolume () const
 Get the PhysicsVolume overlapping this component.
 
virtual FBoxSphereBounds GetPlacementExtent () const
 Get the extent used when placing this component in the editor, used for 'pulling back' hit.
 
FVector GetRelativeLocation () const
 Gets the literal value of RelativeLocation. 更多...
 
FVector & GetRelativeLocation_DirectMutable ()
 Gets a refence to RelativeLocation with the expectation that it will be modified. 更多...
 
FRotator GetRelativeRotation () const
 Gets the literal value of RelativeRotation. 更多...
 
FRotator & GetRelativeRotation_DirectMutable ()
 Gets a refence to RelativeRotation with the expectation that it will be modified. 更多...
 
FORCEINLINE const FRotationConversionCache & GetRelativeRotationCache () const
 Get the RelativeRotationCache. 更多...
 
FQuat GetRelativeRotationFromWorld (const FQuat &WorldRotation)
 Convenience function to get the relative rotation from the passed in world rotation 更多...
 
FVector GetRelativeScale3D () const
 Gets the literal value of RelativeScale3D. 更多...
 
FVector & GetRelativeScale3D_DirectMutable ()
 Gets a refence to RelativeRotation with the expectation that it will be modified. 更多...
 
FTransform GetRelativeTransform () const
 Returns the transform of the component relative to its parent
 
FVector GetRightVector () const
 Get the right (Y) unit direction vector from this component, in world space. 更多...
 
bool GetShouldUpdatePhysicsVolume () const
 Gets whether or not the cached PhysicsVolume this component overlaps should be updated when the component is moved.
 
virtual FVector GetSocketLocation (FName InSocketName) const
 Get world-space socket or bone location. 更多...
 
virtual FQuat GetSocketQuaternion (FName InSocketName) const
 Get world-space socket or bone FQuat rotation. 更多...
 
virtual FRotator GetSocketRotation (FName InSocketName) const
 Get world-space socket or bone FRotator rotation. 更多...
 
virtual FTransform GetSocketTransform (FName InSocketName, ERelativeTransformSpace TransformSpace=RTS_World) const
 Get world-space socket transform. 更多...
 
void GetSocketWorldLocationAndRotation (FName InSocketName, FVector &OutLocation, FRotator &OutRotation) const
 Find the world-space location and rotation of the given named socket. 更多...
 
FVector GetUpVector () const
 Get the up (Z) unit direction vector from this component, in world space. 更多...
 
bool GetVisibleFlag () const
 Gets the literal value of bVisible. 更多...
 
virtual bool HasAnySockets () const
 Returns true if this component has any sockets
 
virtual bool IsAnySimulatingPhysics () const
 Returns whether the specified body is currently using physics simulation
 
bool IsAttachedTo (const USceneComponent *TestComp) const
 Walks up the attachment chain to see if this component is attached to the supplied component. 更多...
 
FORCEINLINE_DEBUGGABLE bool IsCollisionEnabled () const
 Utility to see if there is any form of collision (query or physics) enabled on this component.
 
bool IsDeferringMovementUpdates () const
 Returns true if movement is currently within the scope of an FScopedMovementUpdate.
 
FORCEINLINE_DEBUGGABLE bool IsPhysicsCollisionEnabled () const
 Utility to see if there is any physics collision enabled on this component.
 
virtual bool IsPostLoadThreadSafe () const override
 Called during async load to determine if PostLoad can be called on the loading thread. 更多...
 
virtual bool IsPrecomputedLightingValid () const
 True if our precomputed lighting is up to date
 
FORCEINLINE_DEBUGGABLE bool IsQueryCollisionEnabled () const
 Utility to see if there is any query collision enabled on this component.
 
virtual bool IsSimulatingPhysics (FName BoneName=NAME_None) const
 Returns whether the specified body is currently using physics simulation
 
bool IsUsingAbsoluteLocation () const
 Gets the literal value of bAbsoluteLocation. 更多...
 
bool IsUsingAbsoluteRotation () const
 Gets the literal value of bAbsoluteRotation. 更多...
 
bool IsUsingAbsoluteScale () const
 Gets the literal value of bAbsoluteScale. 更多...
 
virtual bool IsVisible () const
 Returns true if this component is visible in the current context
 
virtual bool IsVisibleInEditor () const
 Return true if visible in editor
 
virtual bool IsWorldGeometry () const
 Is this component considered 'world' geometry, by default checks if this uses the WorldStatic collision channel
 
void K2_AddLocalOffset (FVector DeltaLocation, bool bSweep, FHitResult &SweepHitResult, bool bTeleport)
 Adds a delta to the location of the component in its local reference frame 更多...
 
void K2_AddLocalRotation (FRotator DeltaRotation, bool bSweep, FHitResult &SweepHitResult, bool bTeleport)
 Adds a delta to the rotation of the component in its local reference frame 更多...
 
void K2_AddLocalTransform (const FTransform &DeltaTransform, bool bSweep, FHitResult &SweepHitResult, bool bTeleport)
 Adds a delta to the transform of the component in its local reference frame. 更多...
 
void K2_AddRelativeLocation (FVector DeltaLocation, bool bSweep, FHitResult &SweepHitResult, bool bTeleport)
 Adds a delta to the translation of the component relative to its parent 更多...
 
void K2_AddRelativeRotation (FRotator DeltaRotation, bool bSweep, FHitResult &SweepHitResult, bool bTeleport)
 Adds a delta the rotation of the component relative to its parent 更多...
 
void K2_AddWorldOffset (FVector DeltaLocation, bool bSweep, FHitResult &SweepHitResult, bool bTeleport)
 Adds a delta to the location of the component in world space. 更多...
 
void K2_AddWorldRotation (FRotator DeltaRotation, bool bSweep, FHitResult &SweepHitResult, bool bTeleport)
 Adds a delta to the rotation of the component in world space. 更多...
 
void K2_AddWorldTransform (const FTransform &DeltaTransform, bool bSweep, FHitResult &SweepHitResult, bool bTeleport)
 Adds a delta to the transform of the component in world space. 更多...
 
void K2_AddWorldTransformKeepScale (const FTransform &DeltaTransform, bool bSweep, FHitResult &SweepHitResult, bool bTeleport)
 Adds a delta to the transform of the component in world space. 更多...
 
bool K2_AttachTo (USceneComponent *InParent, FName InSocketName=NAME_None, EAttachLocation::Type AttachType=EAttachLocation::KeepRelativeOffset, bool bWeldSimulatedBodies=true)
 DEPRECATED - Use AttachToComponent() instead
 
bool K2_AttachToComponent (USceneComponent *Parent, FName SocketName, EAttachmentRule LocationRule, EAttachmentRule RotationRule, EAttachmentRule ScaleRule, bool bWeldSimulatedBodies)
 Attach this component to another scene component, optionally at a named socket. 更多...
 
void K2_DetachFromComponent (EDetachmentRule LocationRule=EDetachmentRule::KeepRelative, EDetachmentRule RotationRule=EDetachmentRule::KeepRelative, EDetachmentRule ScaleRule=EDetachmentRule::KeepRelative, bool bCallModify=true)
 Detach this component from whatever it is attached to. 更多...
 
FVector K2_GetComponentLocation () const
 Return location of the component, in world space
 
FRotator K2_GetComponentRotation () const
 Returns rotation of the component, in world space.
 
FVector K2_GetComponentScale () const
 Returns scale of the component, in world space.
 
FTransform K2_GetComponentToWorld () const
 Get the current component-to-world transform for this component
 
void K2_SetRelativeLocation (FVector NewLocation, bool bSweep, FHitResult &SweepHitResult, bool bTeleport)
 Set the location of the component relative to its parent 更多...
 
void K2_SetRelativeLocationAndRotation (FVector NewLocation, FRotator NewRotation, bool bSweep, FHitResult &SweepHitResult, bool bTeleport)
 Set the location and rotation of the component relative to its parent 更多...
 
void K2_SetRelativeRotation (FRotator NewRotation, bool bSweep, FHitResult &SweepHitResult, bool bTeleport)
 Set the rotation of the component relative to its parent 更多...
 
void K2_SetRelativeTransform (const FTransform &NewTransform, bool bSweep, FHitResult &SweepHitResult, bool bTeleport)
 Set the transform of the component relative to its parent 更多...
 
void K2_SetWorldLocation (FVector NewLocation, bool bSweep, FHitResult &SweepHitResult, bool bTeleport)
 Put this component at the specified location in world space. 更多...
 
void K2_SetWorldLocationAndRotation (FVector NewLocation, FRotator NewRotation, bool bSweep, FHitResult &SweepHitResult, bool bTeleport)
 Set the relative location and rotation of the component to put it at the supplied pose in world space. 更多...
 
void K2_SetWorldTransform (const FTransform &NewTransform, bool bSweep, FHitResult &SweepHitResult, bool bTeleport)
 Set the transform of the component in world space. 更多...
 
bool MoveComponent (const FVector &Delta, const FQuat &NewRotation, bool bSweep, FHitResult *Hit=NULL, EMoveComponentFlags MoveFlags=MOVECOMP_NoFlags, ETeleportType Teleport=ETeleportType::None)
 Tries to move the component by a movement vector (Delta) and sets rotation to NewRotation. 更多...
 
virtual void OnAttachmentChanged ()
 Called when AttachParent changes, to allow the scene to update its attachment state.
 
virtual void OnComponentDestroyed (bool bDestroyingHierarchy) override
 Called when a component is destroyed 更多...
 
virtual void OnRegister () override
 Called when a component is registered, after Scene is set, but before CreateRenderState_Concurrent or OnCreatePhysicsState are called.
 
virtual void OnUnregister () override
 Called when a component is unregistered. 更多...
 
virtual void PostInterpChange (FProperty *PropertyThatChanged) override
 This is called when property is modified by InterpPropertyTracks 更多...
 
virtual void PostNetReceive () override
 Called right after receiving a bunch
 
virtual void PostRepNotifies () override
 Called right after calling all OnRep notifies (called even when there are no notifies)
 
virtual void PreNetReceive () override
 Called right before receiving a bunch
 
virtual void PropagateLightingScenarioChange ()
 Updates any visuals after the lighting has changed
 
virtual void QuerySupportedSockets (TArray< FComponentSocketDescription > &OutSockets) const
 Get a list of sockets this component contains
 
void ResetRelativeTransform ()
 Reset the transform of the component relative to its parent. 更多...
 
void SetAbsolute (bool bNewAbsoluteLocation=false, bool bNewAbsoluteRotation=false, bool bNewAbsoluteScale=false)
 Set which parts of the relative transform should be relative to parent, and which should be relative to world
 
FORCEINLINE void SetComponentToWorld (const FTransform &NewComponentToWorld)
 Sets the cached component to world directly. 更多...
 
void SetHiddenInGame (bool NewHidden, bool bPropagateToChildren=false)
 Changes the value of bHiddenInGame, if false this will disable Visibility during gameplay
 
virtual void SetMobility (EComponentMobility::Type NewMobility)
 Set how often this component is allowed to move during runtime. 更多...
 
void SetPhysicsVolume (APhysicsVolume *NewVolume, bool bTriggerNotifiers)
 Replace current PhysicsVolume to input NewVolume 更多...
 
void SetRelativeLocation_Direct (const FVector NewRelativeLocation)
 Sets the value of RelativeLocation without causing other side effects to this instance. 更多...
 
void SetRelativeRotation_Direct (const FRotator NewRelativeRotation)
 Sets the value of RelativeRotation without causing other side effects to this instance. 更多...
 
void SetRelativeRotationCache (const FRotationConversionCache &InCache)
 Sets the RelativeRotationCache. 更多...
 
void SetRelativeRotationExact (FRotator NewRotation, bool bSweep=false, FHitResult *OutSweepHitResult=nullptr, ETeleportType Teleport=ETeleportType::None)
 Set the rotation of the component relative to its parent and force RelativeRotation to be equal to new rotation. 更多...
 
void SetRelativeScale3D (FVector NewScale3D)
 Set the non-uniform scale of the component relative to its parent
 
void SetRelativeScale3D_Direct (const FVector NewRelativeScale3D)
 Sets the value of RelativeScale3D without causing other side effects to this instance. 更多...
 
void SetRelativeTransform_Direct (const FTransform &NewRelativeTransform)
 Helper function to set the location, rotation, and scale without causing other side effects to this instance. 更多...
 
void SetShouldUpdatePhysicsVolume (bool bInShouldUpdatePhysicsVolume)
 Sets whether or not the cached PhysicsVolume this component overlaps should be updated when the component is moved.
 
void SetupAttachment (USceneComponent *InParent, FName InSocketName=NAME_None)
 Initializes desired Attach Parent and SocketName to be attached to when the component is registered. 更多...
 
void SetUsingAbsoluteLocation (const bool bInAbsoluteLocation)
 Sets the value of bAbsoluteLocation without causing other side effects to this instance.
 
void SetUsingAbsoluteRotation (const bool bInAbsoluteRotation)
 Sets the value of bAbsoluteRotation without causing other side effects to this instance.
 
void SetUsingAbsoluteScale (const bool bInAbsoluteRotation)
 Sets the value of bAbsoluteScale without causing other side effects to this instance.
 
void SetVisibility (bool bNewVisibility, bool bPropagateToChildren=false)
 Set visibility of the component, if during game use this to turn on/off
 
void SetVisibleFlag (const bool bInVisible)
 Sets the value of bVisible without causing other side effects to this instance. 更多...
 
void SetWorldLocationAndRotation (FVector NewLocation, const FQuat &NewRotation, bool bSweep=false, FHitResult *OutSweepHitResult=nullptr, ETeleportType Teleport=ETeleportType::None)
 Set the relative location and FQuat rotation of the component to put it at the supplied pose in world space.
 
void SetWorldLocationAndRotationNoPhysics (const FVector &NewLocation, const FRotator &NewRotation)
 Special version of SetWorldLocationAndRotation that does not affect physics.
 
void SetWorldScale3D (FVector NewScale)
 Set the relative scale of the component to put it at the supplied scale in world space. 更多...
 
virtual bool ShouldCollideWhenPlacing () const
 If true, bounds should be used when placing component/actor in level. 更多...
 
bool ShouldComponentAddToScene () const
 Looking at various values of the component, determines if this component should be added to the scene 更多...
 
virtual bool ShouldCreateRenderState () const override
 Return true if CreateRenderState() should be called
 
bool ShouldRender () const
 return true if it should render
 
bool ShouldSkipUpdateOverlaps () const
 If true, we can use the old computed overlaps
 
bool SnapTo (USceneComponent *InParent, FName InSocketName=NAME_None)
 DEPRECATED - Use AttachToComponent() instead
 
void ToggleVisibility (bool bPropagateToChildren=false)
 Toggle visibility of the component
 
virtual void UpdateBounds ()
 Update the Bounds of the component.
 
void UpdateChildTransforms (EUpdateTransformFlags UpdateTransformFlags=EUpdateTransformFlags::None, ETeleportType Teleport=ETeleportType::None)
 Update transforms of any components attached to this one.
 
virtual void UpdateComponentToWorld (EUpdateTransformFlags UpdateTransformFlags=EUpdateTransformFlags::None, ETeleportType Teleport=ETeleportType::None) override final
 Recalculate the value of our component to world transform
 
bool UpdateOverlaps (const TOverlapArrayView *PendingOverlaps=nullptr, bool bDoNotifies=true, const TOverlapArrayView *OverlapsAtEndLocation=nullptr)
 Queries world and updates overlap tracking state for this component
 
virtual void UpdatePhysicsVolume (bool bTriggerNotifiers)
 Updates the PhysicsVolume of this SceneComponent, if bShouldUpdatePhysicsVolume is true. 更多...
 
 USceneComponent (const FObjectInitializer &ObjectInitializer=FObjectInitializer::Get())
 UObject constructor that takes an optional ObjectInitializer
 
- Public 成员函数 继承自 UActorComponent
virtual void Activate (bool bReset=false)
 Activates the SceneComponent, should be overridden by native child classes. 更多...
 
virtual UObject const * AdditionalStatObject () const
 Give a readable name for this component, including asset name if applicable
 
virtual void AddTickPrerequisiteActor (AActor *PrerequisiteActor)
 Make this component tick after PrerequisiteActor
 
virtual void AddTickPrerequisiteComponent (UActorComponent *PrerequisiteComponent)
 Make this component tick after PrerequisiteComponent.
 
FORCEINLINE bool AllowReregistration () const
 Check whether the component class allows reregistration during ReregisterAllComponents
 
virtual void ApplyWorldOffset (const FVector &InOffset, bool bWorldShift)
 Called by owner actor on position shifting Component should update all relevant data structures to reflect new actor location 更多...
 
virtual void BeginDestroy () override
 Called before destroying the object. 更多...
 
virtual void BeginPlay ()
 Begins Play for the component. 更多...
 
virtual bool CallRemoteFunction (UFunction *Function, void *Parameters, FOutParmRec *OutParms, FFrame *Stack) override
 Call the actor's function remotely 更多...
 
bool CanEverAffectNavigation () const
 Can this component potentially influence navigation
 
void ClearNeedEndOfFrameUpdate ()
 If we belong to a world, clear the request to do a deferred update.
 
bool ComponentHasTag (FName Tag) const
 See if this component contains the supplied tag
 
bool ComponentIsInLevel (const class ULevel *TestLevel) const
 Returns true if this actor is contained by TestLevel.
 
bool ComponentIsInPersistentLevel (bool bIncludeLevelStreamingPersistent) const
 See if this component is in the persistent level
 
void CreatePhysicsState (bool bAllowDeferral=false)
 Create any physics engine information for this component
 
virtual void Deactivate ()
 Deactivates the SceneComponent.
 
virtual void DestroyComponent (bool bPromoteChildren=false)
 Unregister the component, remove it from its outer Actor's Components array and mark for pending kill.
 
void DestroyPhysicsState ()
 Shut down any physics engine structure for this component
 
void DetermineUCSModifiedProperties ()
 Initializes the list of properties that are modified by the UserConstructionScript
 
void DoDeferredRenderUpdates_Concurrent ()
 Uses the bRenderStateDirty/bRenderTransformDirty to perform any necessary work on this component. 更多...
 
virtual void EndPlay (const EEndPlayReason::Type EndPlayReason)
 Ends gameplay for this component. 更多...
 
virtual bool GetComponentClassCanReplicate () const
 Returns true if this type of component can ever replicate, override to disable the default behavior
 
virtual TStructOnScope< FActorComponentInstanceData > GetComponentInstanceData () const
 Called before we throw away components during RerunConstructionScripts, to cache any data we wish to persist across that operation
 
ULevel * GetComponentLevel () const
 Return the ULevel that this Component is part of.
 
float GetComponentTickInterval () const
 Returns the tick interval for this component's primary tick function, which is the frequency in seconds at which it will be executed
 
virtual int32 GetFunctionCallspace (UFunction *Function, FFrame *Stack) override
 Return the space this function should be called. 更多...
 
FORCEINLINE bool GetIsReplicated () const
 Returns whether replication is enabled or not.
 
virtual void GetLifetimeReplicatedProps (TArray< FLifetimeProperty > &OutLifetimeProps) const override
 Returns properties that are replicated for the lifetime of the actor channel
 
uint32 GetMarkedForEndOfFrameUpdateState () const
 Tracks whether the component has been added to one of the world's end of frame update lists
 
uint32 GetMarkedForPreEndOfFrameSync () const
 Tracks whether the component has been added to one of the world's end of frame update lists
 
ENetMode GetNetMode () const
 Get the network mode (dedicated server, client, standalone, etc) for this component. 更多...
 
AActor * GetOwner () const
 Follow the Outer chain to get the AActor that 'Owns' this component
 
template<class T >
T * GetOwner () const
 Templated version of GetOwner(), will return nullptr if cast fails
 
ENetRole GetOwnerRole () const
 Get the network role of the Owner, or ROLE_None if there is no owner.
 
virtual FString GetReadableName () const
 Returns a readable name for this component, including the asset name if applicable By default this appends a space plus AdditionalStatObject()
 
class FSceneInterface * GetScene () const
 Returns the rendering scene associated with this component
 
void GetUCSModifiedProperties (TSet< const FProperty * > &ModifiedProperties) const
 Returns the list of properties that are modified by the UserConstructionScript
 
int32 GetUCSSerializationIndex () const
 Returns the UCS serialization index. 更多...
 
virtual UWorld * GetWorld () const override final
 Getter for the cached world pointer, will return null if the component is not actually spawned in a level
 
bool HasBeenCreated () const
 Indicates that OnCreatedComponent has been called, but OnDestroyedComponent has not yet
 
bool HasBeenInitialized () const
 Indicates that InitializeComponent has been called, but UninitializeComponent has not yet
 
bool HasBegunPlay () const
 Indicates that BeginPlay has been called, but EndPlay has not yet
 
virtual void InitializeComponent ()
 Initializes the component. 更多...
 
void InvalidateLightingCache ()
 Invalidate lighting cache with default options.
 
virtual void InvalidateLightingCacheDetailed (bool bInvalidateBuildEnqueuedLighting, bool bTranslationOnly)
 Called when this actor component has moved, allowing it to discard statically cached lighting information.
 
bool IsActive () const
 Returns whether the component is active or not 更多...
 
bool IsBeingDestroyed () const
 Returns whether the component is in the process of being destroyed.
 
virtual bool IsComponentTickEnabled () const
 Returns whether this component has tick enabled or not
 
bool IsCreatedByConstructionScript () const
 Returns true if instances of this component are created by either the user or simple construction script
 
bool IsEditableWhenInherited () const
 True if this component can be modified when it was inherited from a parent actor class
 
virtual bool IsNameStableForNetworking () const override
 IsNameStableForNetworking means an object can be referred to its path name (relative to outer) over the network
 
virtual bool IsNavigationRelevant () const
 Override to specify that a component is relevant to the navigation system
 
bool IsNetMode (ENetMode Mode) const
 Test whether net mode is the given mode. 更多...
 
bool IsNetSimulating () const
 Returns true if we are replicating and this client is not authoritative
 
bool IsNetStartupComponent () const
 Returns true if this component was owned by a net startup actor during level load.
 
bool IsOwnerRunningUserConstructionScript () const
 See if the owning Actor is currently running the UCS
 
bool IsOwnerSelected () const
 Returns whether the component's owner is selected in the editor
 
bool IsPhysicsStateCreated () const
 Returns true if the physics 'state' (e.g. 更多...
 
virtual bool IsReadyForOwnerToAutoDestroy () const
 Overridable check for a component to indicate to its Owner that it should prevent the Actor from auto destroying when finished
 
FORCEINLINE bool IsRegistered () const
 See if this component is currently registered
 
bool IsRenderStateCreated () const
 Returns true if the render 'state' (e.g. 更多...
 
bool IsRenderStateDirty () const
 Is this component in need of its whole state being sent to the renderer?
 
bool IsRenderTransformDirty () const
 Is this component's transform in need of sending to the renderer?
 
virtual bool IsSupportedForNetworking () const override
 IsSupportedForNetworking means an object can be referenced over the network
 
void K2_DestroyComponent (UObject *Object)
 Unregister and mark for pending kill a component. 更多...
 
void MarkForNeededEndOfFrameRecreate ()
 If we belong to a world, mark this for a deferred update, otherwise do it now.
 
void MarkForNeededEndOfFrameUpdate ()
 If we belong to a world, mark this for a deferred update, otherwise do it now.
 
void MarkRenderDynamicDataDirty ()
 Indicate that dynamic data for this component needs to be sent at the end of the frame.
 
void MarkRenderStateDirty ()
 Mark the render state as dirty - will be sent to the render thread at the end of the frame.
 
void MarkRenderTransformDirty ()
 Marks the transform as dirty - will be sent to the render thread at the end of the frame
 
virtual bool NeedsLoadForClient () const override
 Called during saving to determine the load flags to save with the object. 更多...
 
virtual bool NeedsLoadForEditorGame () const override
 Called during saving to include this object in client/servers running in editor builds, even if they wouldn't normally be. 更多...
 
virtual bool NeedsLoadForServer () const override
 Called during saving to determine the load flags to save with the object. 更多...
 
virtual void OnActorEnableCollisionChanged ()
 Called on each component when the Actor's bEnableCollisionChanged flag changes
 
virtual void OnComponentCreated ()
 Called when a component is created (not loaded). 更多...
 
virtual void OnComponentDestroyed (bool bDestroyingHierarchy)
 Called when a component is destroyed 更多...
 
virtual void OnEndOfFrameUpdateDuringTick ()
 Allows components to handle an EOF update happening mid tick. 更多...
 
virtual void OnPreEndOfFrameSync ()
 Allows components to wait on outstanding tasks prior to sending EOF update data. 更多...
 
virtual void OnRep_IsActive ()
 Handles replication of active state, handles ticking by default but should be overridden as needed
 
virtual void PostInitProperties () override
 Called after the C++ constructor and after the properties have been initialized, including those loaded from config. 更多...
 
virtual void PostLoad () override
 Do any object-specific cleanup required immediately after loading an object. 更多...
 
virtual void PostRename (UObject *OldOuter, const FName OldName) override
 Called at the end of Rename(), but only if the rename was actually carried out
 
virtual void PreReplication (IRepChangedPropertyTracker &ChangedPropertyTracker)
 Called on the component right before replication occurs
 
void ReceiveBeginPlay ()
 Blueprint implementable event for when the component is beginning play, called before its owning actor's BeginPlay or when the component is dynamically created if the Actor has already BegunPlay.
 
void ReceiveEndPlay (EEndPlayReason::Type EndPlayReason)
 Blueprint implementable event for when the component ends play, generally via destruction or its Actor's EndPlay.
 
void ReceiveTick (float DeltaSeconds)
 Event called every frame if tick is enabled
 
void RecreatePhysicsState ()
 Recreate the physics state right way.
 
void RecreateRenderState_Concurrent ()
 Recreate the render state right away. 更多...
 
void RegisterAllComponentTickFunctions (bool bRegister)
 When called, will call the virtual call chain to register all of the tick functions Do not override this function or make it virtual 更多...
 
void RegisterComponent ()
 Register this component, creating any rendering/physics state. 更多...
 
void RegisterComponentWithWorld (UWorld *InWorld, FRegisterComponentContext *Context=nullptr)
 Registers a component with a specific world, which creates any visual/physical state 更多...
 
virtual void RemoveTickPrerequisiteActor (AActor *PrerequisiteActor)
 Remove tick dependency on PrerequisiteActor.
 
virtual void RemoveTickPrerequisiteComponent (UActorComponent *PrerequisiteComponent)
 Remove tick dependency on PrerequisiteComponent.
 
void RemoveUCSModifiedProperties (const TArray< FProperty * > &Properties)
 Removes specified properties from the list of UCS-modified properties
 
virtual bool Rename (const TCHAR *NewName=NULL, UObject *NewOuter=NULL, ERenameFlags Flags=REN_None) override
 Rename this object to a unique name, or change its outer. 更多...
 
virtual bool ReplicateSubobjects (class UActorChannel *Channel, class FOutBunch *Bunch, FReplicationFlags *RepFlags)
 Allows a component to replicate other subobject on the actor

 
virtual bool RequiresGameThreadEndOfFrameRecreate () const
 return true if this component requires end of frame recreates to happen from the game thread.
 
virtual bool RequiresGameThreadEndOfFrameUpdates () const
 return true if this component requires end of frame updates to happen from the game thread.
 
virtual bool RequiresPreEndOfFrameSync () const
 return true if this component needs to sync to tasks before end of frame updates are executed
 
void ReregisterComponent ()
 Unregisters and immediately re-registers component.
 
virtual void Serialize (FArchive &Ar) override
 Handles reading, writing, and reference collecting using FArchive. 更多...
 
virtual void SetActive (bool bNewActive, bool bReset=false)
 Sets whether the component is active or not 更多...
 
void SetActiveFlag (const bool bNewIsActive)
 Sets the value of bIsActive without causing other side effects to this instance. 更多...
 
virtual void SetAutoActivate (bool bNewAutoActivate)
 Sets whether the component should be auto activate or not. 更多...
 
void SetCanEverAffectNavigation (bool bRelevant)
 set value of bCanEverAffectNavigation flag and update navigation octree if needed
 
virtual void SetComponentTickEnabled (bool bEnabled)
 Set this component's tick functions to be enabled or disabled. 更多...
 
virtual void SetComponentTickEnabledAsync (bool bEnabled)
 Spawns a task on GameThread that will call SetComponentTickEnabled 更多...
 
void SetComponentTickInterval (float TickInterval)
 Sets the tick interval for this component's primary tick function. 更多...
 
void SetComponentTickIntervalAndCooldown (float TickInterval)
 Sets the tick interval for this component's primary tick function. 更多...
 
void SetIsNetStartupComponent (const bool bInIsNetStartupComponent)
 This should only be called by the engine in ULevel::InitializeNetworkActors to initialize bIsNetStartupComponent.
 
void SetIsReplicated (bool ShouldReplicate)
 Enable or disable replication. 更多...
 
void SetNetAddressable ()
 This signifies the component can be ID'd by name over the network. 更多...
 
void SetTickableWhenPaused (bool bTickableWhenPaused)
 Sets whether this component can tick when paused.
 
void SetTickGroup (ETickingGroup NewTickGroup)
 Changes the ticking group for this component
 
bool SetupActorComponentTickFunction (struct FTickFunction *TickFunction)
 Set up a tick function for a component in the standard way. 更多...
 
virtual void TickComponent (float DeltaTime, enum ELevelTick TickType, FActorComponentTickFunction *ThisTickFunction)
 Function called every frame on this ActorComponent. 更多...
 
virtual void ToggleActive ()
 Toggles the active state of the component
 
 UActorComponent (const FObjectInitializer &ObjectInitializer=FObjectInitializer::Get())
 Default UObject constructor that takes an optional ObjectInitializer.
 
virtual void UninitializeComponent ()
 Handle this component being Uninitialized. 更多...
 
void UnregisterComponent ()
 Unregister this component, destroying any rendering/physics state.
 
virtual void UpdateComponentToWorld (EUpdateTransformFlags UpdateTransformFlags=EUpdateTransformFlags::None, ETeleportType Teleport=ETeleportType::None)
 Recalculate the value of our component to world transform
 
- Public 成员函数 继承自 UObject
void AbortInsideMemberFunction () const
 Abort with a member function call at the top of the callstack, helping to ensure that most platforms will stuff this object's memory into the resulting minidump.
 
virtual bool AreNativePropertiesIdenticalTo (UObject *Other) const
 Returns whether native properties are identical to the one of the passed in component. 更多...
 
virtual void BeginDestroy ()
 Called before destroying the object. 更多...
 
virtual void BuildSubobjectMapping (UObject *OtherObject, TMap< UObject *, UObject * > &ObjectMapping) const
 Given OtherObject (which will be the same type as 'this'), recursively find any matching sub-objects from 'this' that also exist within OtherObject, and add the mappings to ObjectMapping. 更多...
 
void CallAddReferencedObjects (FReferenceCollector &Collector)
 Helper function to call AddReferencedObjects for this object's class. 更多...
 
void CallFunction (FFrame &Stack, RESULT_DECL, UFunction *Function)
 Internal VM method for executing a function
 
bool CallFunctionByNameWithArguments (const TCHAR *Cmd, FOutputDevice &Ar, UObject *Executor, bool bForceCallWithNonExec=false)
 Handle calling a function by name when executed from the console or a command line
 
virtual bool CallRemoteFunction (UFunction *Function, void *Parms, struct FOutParmRec *OutParms, FFrame *Stack)
 Call the actor's function remotely 更多...
 
bool CheckDefaultSubobjects (bool bForceCheck=false) const
 Checks default sub-object assumptions. 更多...
 
void CollectDefaultSubobjects (TArray< UObject * > &OutDefaultSubobjects, bool bIncludeNestedSubobjects=false) const
 Uses the TArchiveObjectReferenceCollector to build a list of all components referenced by this object which have this object as the outer 更多...
 
bool ConditionalBeginDestroy ()
 Called before destroying the object. 更多...
 
bool ConditionalFinishDestroy ()
 Called when an object is actually destroyed, memory should never be accessed again
 
void ConditionalPostLoad ()
 PostLoad if needed.
 
void ConditionalPostLoadSubobjects (struct FObjectInstancingGraph *OuterInstanceGraph=NULL)
 Instances subobjects and components for objects being loaded from disk, if necessary. 更多...
 
 DECLARE_FUNCTION (execBreakpoint)
 Breakpoint; only observed in the editor; executing it at any other time is a NOP
 
 DECLARE_FUNCTION (execInstrumentation)
 Instrumentation event for profiling; only observed in the builds with blueprint instrumentation
 
 DECLARE_FUNCTION (execPopExecutionFlow)
 Pops a code offset from the execution flow stack and starts execution there. 更多...
 
 DECLARE_FUNCTION (execPopExecutionFlowIfNot)
 Pops a code offset from the execution flow stack and starts execution there, if a condition is not true. 更多...
 
 DECLARE_FUNCTION (execPushExecutionFlow)
 Push a code offset onto the execution flow stack for future execution. 更多...
 
 DECLARE_FUNCTION (execReturnNothing)
 failsafe for functions that return a value - returns the zero value for a property and logs that control reached the end of a non-void function
 
 DECLARE_FUNCTION (execTracepoint)
 Tracepoint; only observed in the editor; executing it at any other time is a NOP
 
 DECLARE_FUNCTION (ProcessInternal)
 Internal function call processing. 更多...
 
void DestroyNonNativeProperties ()
 Destroy properties that won't be destroyed by the native destructor
 
void ExecuteUbergraph (int32 EntryPoint)
 Execute the ubergraph from a specific entry point
 
virtual void ExportCustomProperties (FOutputDevice &Out, uint32 Indent)
 Exports the property values for the specified object as text to the output device. 更多...
 
UFunction * FindFunction (FName InName) const
 Returns a UFunction with the specified name, wrapper for UClass::FindFunctionByName()
 
UFunction * FindFunctionChecked (FName InName) const
 Version of FindFunction() that will assert if the function was not found
 
virtual void FinishDestroy ()
 Called to finish destroying the object. 更多...
 
UObject * GetArchetype () const
 Return the template this object is based on. 更多...
 
void GetArchetypeInstances (TArray< UObject * > &Instances)
 Builds a list of objects which have this object in their archetype chain. 更多...
 
virtual void GetAssetRegistryTags (TArray< FAssetRegistryTag > &OutTags) const
 Gathers a list of asset registry searchable tags which are name/value pairs with some type information This only needs to be implemented for asset objects 更多...
 
virtual const TCHAR * GetConfigOverridePlatform () const
 Returns the override config hierarchy platform (if NDAd platforms need defaults to not be in Base*.ini but still want editor to load them)
 
FString GetDefaultConfigFilename () const
 Get the default config filename for the specified UObject
 
virtual FString GetDesc ()
 Return a one line description of an object for viewing in the thumbnail view of the generic browser
 
FString GetDetailedInfo () const
 This will return detail info about this specific object. 更多...
 
virtual FName GetExporterName (void)
 Returns the name of the exporter factory used to export this object Used when multiple factories have the same extension
 
virtual int32 GetFunctionCallspace (UFunction *Function, FFrame *Stack)
 Return the space this function should be called. 更多...
 
FString GetGlobalUserConfigFilename () const
 Get the global user override config filename for the specified UObject
 
virtual void GetLifetimeReplicatedProps (TArray< class FLifetimeProperty > &OutLifetimeProps) const
 Returns properties that are replicated for the lifetime of the actor channel
 
virtual bool GetNativePropertyValues (TMap< FString, FString > &out_PropertyValues, uint32 ExportFlags=0) const
 Callback for retrieving a textual representation of natively serialized properties. 更多...
 
virtual int32 GetNetPushIdDynamic () const
 Should only ever be used by internal systems.
 
virtual void GetPreloadDependencies (TArray< UObject * > &OutDeps)
 Called during cooking. 更多...
 
virtual void GetPrestreamPackages (TArray< UObject * > &OutPrestream)
 Called during cooking. 更多...
 
virtual FPrimaryAssetId GetPrimaryAssetId () const
 Returns an Type:Name pair representing the PrimaryAssetId for this object. 更多...
 
FString GetProjectUserConfigFilename () const
 Get the project user override config filename for the specified UObject
 
SIZE_T GetResourceSizeBytes (EResourceSizeMode::Type Mode)
 Get the size of the object/resource for use in memory tools or to display to artists/LDs in the Editor This is the simple version which just returns the total number of bytes used by this object. 更多...
 
virtual void GetResourceSizeEx (FResourceSizeEx &CumulativeResourceSize)
 Get the size of the object/resource for use in memory tools or to display to artists/LDs in the Editor This is the extended version which separates up the used memory into different memory regions (the actual definition of which may be platform specific). 更多...
 
virtual FRestoreForUObjectOverwrite * GetRestoreForUObjectOverwrite ()
 Save information for StaticAllocateObject in the case of overwriting an existing object. 更多...
 
virtual UScriptStruct * GetSparseClassDataStruct () const
 Return the UStruct corresponding to the sidecar data structure that stores data that is constant for all instances of this class.
 
virtual void GetSubobjectsWithStableNamesForNetworking (TArray< UObject * > &ObjList)
 Returns a list of sub-objects that have stable names for networking
 
template<class T >
FORCEINLINE bool Implements () const
 Returns true if this object implements the interface T, false otherwise.
 
template<class T >
bool Implements () const
 Returns true if this object implements the interface T, false otherwise.
 
virtual void ImportCustomProperties (const TCHAR *SourceText, FFeedbackContext *Warn)
 Exports the property values for the specified object as text to the output device. 更多...
 
void InstanceSubobjectTemplates (struct FObjectInstancingGraph *InstanceGraph=NULL)
 Wrapper for calling UClass::InstanceSubobjectTemplates() for this object.
 
virtual bool IsAsset () const
 Returns true if this object is considered an asset.
 
bool IsBasedOnArchetype (const UObject *const SomeObject) const
 Determine if this object has SomeObject in its archetype chain.
 
virtual bool IsDestructionThreadSafe () const
 Called during garbage collection to determine if an object can have its destructor called on a worker thread. 更多...
 
virtual bool IsEditorOnly () const
 Called during saving to determine if the object is forced to be editor only or not 更多...
 
virtual bool IsFullNameStableForNetworking () const
 IsFullNameStableForNetworking means an object can be referred to its full path name over the network
 
bool IsInBlueprint () const
 Returns whether this object is contained in or part of a blueprint object
 
virtual bool IsLocalizedResource () const
 Returns true if this object is considered a localized resource.
 
virtual bool IsNameStableForNetworking () const
 IsNameStableForNetworking means an object can be referred to its path name (relative to outer) over the network
 
virtual bool IsPostLoadThreadSafe () const
 Called during async load to determine if PostLoad can be called on the loading thread. 更多...
 
virtual bool IsReadyForAsyncPostLoad () const
 Called before calling PostLoad() in FAsyncPackage::PostLoadObjects(). 更多...
 
virtual bool IsReadyForFinishDestroy ()
 Called to check if the object is ready for FinishDestroy. 更多...
 
virtual bool IsSafeForRootSet () const
 Returns true if this object is safe to add to the root set.
 
bool IsSelected () const
 Test the selection state of a UObject 更多...
 
virtual bool IsSupportedForNetworking () const
 IsSupportedForNetworking means an object can be referenced over the network
 
void LoadConfig (UClass *ConfigClass=NULL, const TCHAR *Filename=NULL, uint32 PropagationFlags=UE4::LCPF_None, class FProperty *PropertyToLoad=NULL)
 Imports property values from an .ini file. 更多...
 
virtual void MarkAsEditorOnlySubobject ()
 Called during subobject creation to mark this component as editor only, which causes it to get stripped in packaged builds
 
FORCEINLINE bool Modify (bool bAlwaysMarkDirty=true)
 Note that the object will be modified. 更多...
 
virtual bool NeedsLoadForClient () const
 Called during saving to determine the load flags to save with the object. 更多...
 
virtual bool NeedsLoadForEditorGame () const
 Called during saving to include this object in client/servers running in editor builds, even if they wouldn't normally be. 更多...
 
virtual bool NeedsLoadForServer () const
 Called during saving to determine the load flags to save with the object. 更多...
 
virtual bool NeedsLoadForTargetPlatform (const class ITargetPlatform *TargetPlatform) const
 Called during saving to determine the load flags to save with the object. 更多...
 
void OutputReferencers (FOutputDevice &Ar, FReferencerInformationList *Referencers=NULL)
 Outputs a string to an arbitrary output device, describing the list of objects which are holding references to this one. 更多...
 
virtual void OverridePerObjectConfigSection (FString &SectionName)
 Allows PerObjectConfig classes, to override the ini section name used for the PerObjectConfig object. 更多...
 
void ParseParms (const TCHAR *Parms)
 Import an object from a file.
 
virtual void PostCDOContruct ()
 Called after the C++ constructor has run on the CDO for a class. 更多...
 
virtual void PostDuplicate (bool bDuplicateForPIE)
 Called after duplication & serialization and before PostLoad. 更多...
 
virtual void PostEditImport ()
 Called after importing property values for this object (paste, duplicate or .t3d import) Allow the object to perform any cleanup for properties which shouldn't be duplicated or are unsupported by the script serialization
 
virtual void PostInitProperties ()
 Called after the C++ constructor and after the properties have been initialized, including those loaded from config. 更多...
 
virtual void PostInterpChange (FProperty *PropertyThatChanged)
 This is called when property is modified by InterpPropertyTracks 更多...
 
virtual void PostLoad ()
 Do any object-specific cleanup required immediately after loading an object. 更多...
 
virtual void PostLoadSubobjects (FObjectInstancingGraph *OuterInstanceGraph)
 Instances components for objects being loaded from disk, if necessary. 更多...
 
virtual void PostNetReceive ()
 Called right after receiving a bunch
 
virtual void PostReloadConfig (class FProperty *PropertyThatWasLoaded)
 Called from ReloadConfig after the object has reloaded its configuration data.
 
virtual void PostRename (UObject *OldOuter, const FName OldName)
 Called at the end of Rename(), but only if the rename was actually carried out
 
virtual void PostRepNotifies ()
 Called right after calling all OnRep notifies (called even when there are no notifies)
 
virtual void PostSaveRoot (bool bCleanupIsRequired)
 Called from within SavePackage on the passed in base/root object. 更多...
 
virtual void PreDestroyFromReplication ()
 Called right before being marked for destruction due to network replication
 
virtual void PreDuplicate (FObjectDuplicationParameters &DupParams)
 Called before duplication. 更多...
 
virtual void PreNetReceive ()
 Called right before receiving a bunch
 
virtual void PreSave (const class ITargetPlatform *TargetPlatform)
 Presave function. 更多...
 
virtual bool PreSaveRoot (const TCHAR *Filename)
 Called from within SavePackage on the passed in base/root object. 更多...
 
virtual bool ProcessConsoleExec (const TCHAR *Cmd, FOutputDevice &Ar, UObject *Executor)
 This function handles a console exec sent to the object; it is virtual so 'nexus' objects like a player controller can reroute the command to several different objects.
 
virtual void ProcessEvent (UFunction *Function, void *Parms)
 Called by VM to execute a UFunction with a filled in UStruct of parameters
 
virtual UClass * RegenerateClass (UClass *ClassToRegenerate, UObject *PreviousCDO)
 Called on the target when a class is loaded with ClassGeneratedBy is loaded. 更多...
 
void ReinitializeProperties (UObject *SourceObject=NULL, struct FObjectInstancingGraph *InstanceGraph=NULL)
 Wrapper function for InitProperties() which handles safely tearing down this object before re-initializing it from the specified source object. 更多...
 
void ReloadConfig (UClass *ConfigClass=NULL, const TCHAR *Filename=NULL, uint32 PropagationFlags=UE4::LCPF_None, class FProperty *PropertyToLoad=NULL)
 Wrapper method for LoadConfig that is used when reloading the config data for objects at runtime which have already loaded their config data at least once. 更多...
 
virtual bool Rename (const TCHAR *NewName=nullptr, UObject *NewOuter=nullptr, ERenameFlags Flags=REN_None)
 Rename this object to a unique name, or change its outer. 更多...
 
void RetrieveReferencers (TArray< FReferencerInformation > *OutInternalReferencers, TArray< FReferencerInformation > *OutExternalReferencers)
 Called by OutputReferencers() to get the internal list of referencers to write
 
void SaveConfig (uint64 Flags=CPF_Config, const TCHAR *Filename=NULL, FConfigCacheIni *Config=GConfig, bool bAllowCopyToDefaultObject=true)
 Save configuration out to ini files 更多...
 
virtual void Serialize (FArchive &Ar)
 Handles reading, writing, and reference collecting using FArchive. 更多...
 
void SerializeScriptProperties (FArchive &Ar) const
 Serializes the script property data located at Data. 更多...
 
void SerializeScriptProperties (FStructuredArchive::FSlot Slot) const
 Serializes the script property data located at Data. 更多...
 
void SetLinker (FLinkerLoad *LinkerLoad, int32 LinkerIndex, bool bShouldDetachExisting=true)
 Changes the linker and linker index to the passed in one. 更多...
 
virtual void ShutdownAfterError ()
 After a critical error, perform any mission-critical cleanup, such as restoring the video mode orreleasing hardware resources.
 
void SkipFunction (FFrame &Stack, RESULT_DECL, UFunction *Function)
 advances Stack's code past the parameters to the given Function and if the function has a return value, copies the zero value for that property to the memory for the return value 更多...
 
virtual void TagSubobjects (EObjectFlags NewFlags)
 Tags objects that are part of the same asset with the specified object flag, used for GC checking 更多...
 
void UpdateDefaultConfigFile (const FString &SpecificFileLocation="")
 Saves just the section(s) for this class into the default ini file for the class (with just the changes from base)
 
void UpdateGlobalUserConfigFile ()
 Saves just the section(s) for this class into the global user ini file for the class (with just the changes from base)
 
void UpdateProjectUserConfigFile ()
 Saves just the section(s) for this class into the project user ini file for the class (with just the changes from base)
 
void UpdateSinglePropertyInConfigFile (const FProperty *InProperty, const FString &InConfigIniName)
 Saves just the property into the global user ini file for the class (with just the changes from base)
 
- Public 成员函数 继承自 UObjectBaseUtility
void AddToCluster (UObjectBaseUtility *ClusterRootOrObjectFromCluster, bool bAddAsMutableObject=false)
 Adds this objects to a GC cluster that already exists 更多...
 
FORCEINLINE void AddToRoot ()
 Add an object to the root set. 更多...
 
FORCEINLINE void AppendName (FString &ResultString) const
 Optimized version of GetName that appends to an existing string
 
FORCEINLINE bool AtomicallyClearInternalFlags (EInternalObjectFlags FlagsToClear) const
 Atomically clears passed in internal flags. 更多...
 
virtual bool CanBeClusterRoot () const
 Called after load to determine if the object can be a cluster root 更多...
 
virtual bool CanBeInCluster () const
 Called during cluster construction if the object can be added to a cluster 更多...
 
FORCEINLINE void ClearFlags (EObjectFlags NewFlags)
 Clears subset of flags for a specific object
 
FORCEINLINE void ClearInternalFlags (EInternalObjectFlags FlagsToClear) const
 Clears passed in internal flags. 更多...
 
FORCEINLINE void ClearPendingKill ()
 Unmarks this object as PendingKill.
 
virtual void CreateCluster ()
 Called after PostLoad to create UObject cluster
 
void DetachExternalPackage ()
 Utility function to temporarily detach the object external package, if any GetPackage will report the outer's package once detached
 
const UClass * FindNearestCommonBaseClass (const UClass *TestClass) const
 Finds the most-derived class which is a parent of both TestClass and this object's class. 更多...
 
FORCEINLINE EObjectMark GetAllMarks () const
 Returns all of the object marks on a specific object 更多...
 
FString GetFullGroupName (bool bStartWithOuter) const
 Walks up the chain of packages until it reaches the top level, which it ignores. 更多...
 
void GetFullName (const UObject *StopOuter, FString &ResultString, EObjectFullNameFlags Flags=EObjectFullNameFlags::None) const
 Version of GetFullName() that eliminates unnecessary copies.
 
FString GetFullName (const UObject *StopOuter=NULL, EObjectFullNameFlags Flags=EObjectFullNameFlags::None) const
 Returns the fully qualified pathname for this object as well as the name of the class, in the format: 'ClassName Outermost[.Outer].Name'. 更多...
 
void * GetInterfaceAddress (UClass *InterfaceClass)
 Returns a pointer to this object safely converted to a pointer of the specified interface class. 更多...
 
FORCEINLINE EInternalObjectFlags GetInternalFlags () const
 Gets internal flags. 更多...
 
class FLinkerLoad * GetLinker () const
 Returns the linker for this object. 更多...
 
int32 GetLinkerCustomVersion (FGuid CustomVersionKey) const
 Returns the custom version of the linker for this object corresponding to the given custom version key. 更多...
 
int32 GetLinkerIndex () const
 Returns this object's LinkerIndex. 更多...
 
int32 GetLinkerLicenseeUE4Version () const
 Returns the licensee version of the linker for this object. 更多...
 
int32 GetLinkerUE4Version () const
 Returns the UE4 version of the linker for this object. 更多...
 
FORCEINLINE EObjectFlags GetMaskedFlags (EObjectFlags Mask=RF_AllFlags) const
 Returns object flags that are both in the mask and set on the object. 更多...
 
FORCEINLINE FString GetName () const
 Returns the name of this object (with no path information) 更多...
 
FORCEINLINE void GetName (FString &ResultString) const
 Optimized version of GetName that overwrites an existing string
 
void * GetNativeInterfaceAddress (UClass *InterfaceClass)
 Returns a pointer to the I* native interface object that this object implements. 更多...
 
const void * GetNativeInterfaceAddress (UClass *InterfaceClass) const
 Returns a pointer to the const I* native interface object that this object implements. 更多...
 
UPackage * GetOutermost () const
 Legacy function, has the same behavior as GetPackage use GetPackage instead. 更多...
 
UObject * GetOutermostObject () const
 Walks up the list of outers until it finds the top-level one that isn't a package. 更多...
 
UPackage * GetPackage () const
 Walks up the list of outers until it finds a package directly associated with the object. 更多...
 
void GetPathName (const UObject *StopOuter, FString &ResultString) const
 Versions of GetPathName() that eliminates unnecessary copies and allocations.
 
FString GetPathName (const UObject *StopOuter=NULL) const
 Returns the fully qualified pathname for this object, in the format: 'Outermost[.Outer].Name' 更多...
 
FORCEINLINE TStatId GetStatID (bool bForDeferredUse=false) const
 Returns the stat ID of the object, used for profiling. 更多...
 
template<typename T >
T * GetTypedOuter () const
 Traverses the outer chain searching for the next object of a certain type. 更多...
 
UObject * GetTypedOuter (UClass *Target) const
 Traverses the outer chain searching for the next object of a certain type. 更多...
 
FORCEINLINE bool HasAllFlags (EObjectFlags FlagsToCheck) const
 Used to safely check whether all of the passed in flags are set. 更多...
 
FORCEINLINE bool HasAllMarks (EObjectMark Marks) const
 Tests an object for having ALL of a set of marks 更多...
 
FORCEINLINE bool HasAnyFlags (EObjectFlags FlagsToCheck) const
 Used to safely check whether any of the passed in flags are set. 更多...
 
FORCEINLINE bool HasAnyInternalFlags (EInternalObjectFlags FlagsToCheck) const
 Used to safely check whether any of the passed in internal flags are set. 更多...
 
FORCEINLINE bool HasAnyMarks (EObjectMark Marks) const
 Tests an object for having ANY of a set of marks 更多...
 
template<class T >
bool IsA () const
 Returns true if this object is of the template type.
 
template<typename OtherClassType >
FORCEINLINE bool IsA (OtherClassType SomeBase) const
 Returns true if this object is of the specified type.
 
bool IsDefaultSubobject () const
 Returns whether this component was instanced from a component/subobject template, or if it is a component/subobject template. 更多...
 
bool IsIn (const UObject *SomeOuter) const
 Return the dispatch to IsInOuter or IsInPackage depending on SomeOuter's class. 更多...
 
bool IsIn (const UPackage *SomePackage) const
 Overload to determine if an object is in the specified package which can now be different than its outer chain. 更多...
 
bool IsInA (const UClass *SomeBaseClass) const
 Find out if this object is inside (has an outer) that is of the specified class 更多...
 
bool IsInOuter (const UObject *SomeOuter) const
 Returns true if the object is contained in the specified outer.
 
bool IsInPackage (const UPackage *SomePackage) const
 Returns true if the object is contained in the specified package.
 
FORCEINLINE bool IsNative () const
 Checks if the object is native.
 
FORCEINLINE bool IsPendingKill () const
 Checks the PendingKill flag to see if it is dead but memory still valid
 
FORCEINLINE bool IsPendingKillOrUnreachable () const
 Checks if the object is pending kill or unreachable.
 
FORCEINLINE bool IsRooted () const
 Returns true if this object is explicitly rooted 更多...
 
bool IsTemplate (EObjectFlags TemplateTypes=RF_ArchetypeObject|RF_ClassDefaultObject) const
 Determines whether this object is a template object 更多...
 
FORCEINLINE bool IsUnreachable () const
 Checks if the object is unreachable.
 
FORCEINLINE void Mark (EObjectMark Marks) const
 Adds marks to an object 更多...
 
bool MarkPackageDirty () const
 Finds the outermost package and marks it dirty. 更多...
 
FORCEINLINE void MarkPendingKill ()
 Marks this object as RF_PendingKill.
 
virtual void OnClusterMarkedAsPendingKill ()
 Called during Garbage Collection to perform additional cleanup when the cluster is about to be destroyed due to PendingKill flag being set on it.
 
FORCEINLINE bool operator< (const UObjectBaseUtility &Other) const
 Overloaded < operator. 更多...
 
void ReattachExternalPackage ()
 Utility function to reattach the object external package, if any GetPackage will report the object external package if set after this call
 
FORCEINLINE void RemoveFromRoot ()
 Remove an object from the root set.
 
bool RootPackageHasAnyFlags (uint32 CheckFlagMask) const
 Checks whether this object's top-most package has any of the specified flags 更多...
 
FORCEINLINE void SetFlags (EObjectFlags NewFlags)
 Modifies object flags for a specific object
 
FORCEINLINE void SetInternalFlags (EInternalObjectFlags FlagsToSet) const
 Clears passed in internal flags. 更多...
 
FORCEINLINE bool ThisThreadAtomicallyClearedRFUnreachable ()
 Atomically clear the unreachable flag 更多...
 
FORCEINLINE void UnMark (EObjectMark Marks) const
 Removes marks from and object 更多...
 
- Public 成员函数 继承自 UObjectBase
FORCENOINLINE void AtomicallyClearFlags (EObjectFlags FlagsToClear)
 Atomically clears the specified flags. 更多...
 
FORCENOINLINE void AtomicallySetFlags (EObjectFlags FlagsToAdd)
 Atomically adds the specified flags. 更多...
 
FORCEINLINE UClass * GetClass () const
 Returns the UClass that defines the fields of this object
 
UPackage * GetExternalPackage () const
 Returns the external UPackage associated with this object, if any
 
UPackage * GetExternalPackageInternal () const
 Returns the external UPackage for this object, if any, NOT THREAD SAFE, used by internal gc reference collecting.
 
FORCEINLINE EObjectFlags GetFlags () const
 Retrieve the object flags directly 更多...
 
FORCEINLINE FName GetFName () const
 Returns the logical name of this object
 
FORCEINLINE UObject * GetOuter () const
 Returns the UObject this object resides in
 
FORCEINLINE uint32 GetUniqueID () const
 Returns the unique ID of the object...these are reused so it is only unique while the object is alive. 更多...
 
bool IsValidLowLevel () const
 Checks to see if the object appears to be valid 更多...
 
bool IsValidLowLevelFast (bool bRecursive=true) const
 Faster version of IsValidLowLevel. 更多...
 
void SetExternalPackage (UPackage *InPackage)
 Associate an external package directly to this object.
 
 UObjectBase (UClass *InClass, EObjectFlags InFlags, EInternalObjectFlags InInternalFlags, UObject *InOuter, FName InName)
 Constructor used by StaticAllocateObject 更多...
 
virtual ~UObjectBase ()
 Final destructor, removes the object from the object array, and indirectly, from any annotations
 
- 静态 Public 成员函数 继承自 USceneComponent
static void ConvertAttachLocation (EAttachLocation::Type InAttachLocation, EAttachmentRule &InOutLocationRule, EAttachmentRule &InOutRotationRule, EAttachmentRule &InOutScaleRule)
 Backwards compatibility: Used to convert old-style EAttachLocation to new-style EAttachmentRules
 
static const FName GetAbsoluteLocationPropertyName ()
 Gets the property name for bAbsoluteLocation. 更多...
 
static const FName GetAbsoluteRotationPropertyName ()
 Gets the property name for bAbsoluteRotation. 更多...
 
static const FName GetAbsoluteScalePropertyName ()
 Gets the property name for bAbsoluteScale. 更多...
 
static FName GetDefaultSceneRootVariableName ()
 The name to use for the default scene root variable
 
static const FName GetRelativeLocationPropertyName ()
 Gets the property name for RelativeLocation. 更多...
 
static const FName GetRelativeRotationPropertyName ()
 Gets the property name for RelativeRotation. 更多...
 
static const FName GetRelativeScale3DPropertyName ()
 Gets the property name for RelativeScale3D. 更多...
 
static const FName GetVisiblePropertyName ()
 Gets the property name for bVisible. 更多...
 
- 静态 Public 成员函数 继承自 UObject
static void AddReferencedObjects (UObject *InThis, FReferenceCollector &Collector)
 Callback used to allow object register its direct object references that are not already covered by the token stream. 更多...
 
static bool CanCreateInCurrentContext (UObject *Template)
 Determines if you can create an object from the supplied template in the current context (editor, client only, dedicated server, game/listen) This calls NeedsLoadForClient & NeedsLoadForServer
 
static UObject * GetArchetypeFromRequiredInfo (const UClass *Class, const UObject *Outer, FName Name, EObjectFlags ObjectFlags)
 Return the template that an object with this class, outer and name would be 更多...
 
static const FName & SourceFileTagName ()
 Get the common tag name used for all asset source file import paths
 
static void UpdateClassesExcludedFromDedicatedClient (const TArray< FString > &InClassNames, const TArray< FString > &InModulesNames)
 Update the list of classes that we should exclude from dedicated client builds
 
static void UpdateClassesExcludedFromDedicatedServer (const TArray< FString > &InClassNames, const TArray< FString > &InModulesNames)
 Update the list of classes that we should exclude from dedicated server builds
 
- 静态 Public 成员函数 继承自 UObjectBase
static void EmitBaseReferences (UClass *RootClass)
 Emit GC tokens for UObjectBase, this might be UObject::StaticClass or Default__Class
 
static FString RemoveClassPrefix (const TCHAR *ClassName)
 Removes the class prefix from the given string
 
- Public 属性 继承自 USceneComponent
uint8 bBoundsChangeTriggersStreamingDataRebuild:1
 If true, a change in the bounds of the component will call trigger a streaming data rebuild
 
uint8 bHiddenInGame:1
 Whether to hide the primitive in game, if the primitive is Visible.
 
FBoxSphereBounds Bounds
 Current bounds of the component
 
uint8 bUseAttachParentBound:1
 If true, this component uses its parents bounds when attached. 更多...
 
const FLevelCollection * CachedLevelCollection
 Cached level collection that contains the level this component is registered in, for fast access in IsVisible().
 
FVector ComponentVelocity
 Velocity of the component. 更多...
 
TEnumAsByte< enum EDetailMode > DetailMode
 If detail mode is >= system detail mode, primitive won't be rendered.
 
FIsRootComponentChanged IsRootComponentChanged
 Delegate invoked when this scene component becomes the actor's root component or when it no longer is.
 
TEnumAsByte< EComponentMobility::Type > Mobility
 How often this component is allowed to move, used to make various optimizations. 更多...
 
FPhysicsVolumeChanged PhysicsVolumeChangedDelegate
 Delegate that will be called when PhysicsVolume has been changed
 
FTransformUpdated TransformUpdated
 Delegate called when this component is moved
 
- Public 属性 继承自 UActorComponent
uint8 bAllowAnyoneToDestroyMe:1
 Can this component be destroyed (via K2_DestroyComponent) by any parent
 
uint8 bAllowConcurrentTick:1
 Can we tick this concurrently on other threads?
 
uint8 bAutoActivate:1
 Whether the component is activated at creation or must be explicitly activated.
 
uint8 bAutoRegister:1
 Does this component automatically register with its owner
 
uint8 bEditableWhenInherited:1
 True if this component can be modified when it was inherited from a parent actor class
 
uint8 bIsEditorOnly:1
 If true, the component will be excluded from non-editor builds
 
uint8 bNavigationRelevant: 1
 Cached navigation relevancy flag for collision updates
 
uint8 bNeverNeedsRenderUpdate:1
 If true, this component never needs a render update.
 
uint8 bTickInEditor:1
 Should this component be ticked in the editor
 
uint8 bWantsInitializeComponent:1
 If true, we call the virtual InitializeComponent
 
TArray< FName > ComponentTags
 Array of tags that can be used for grouping and categorizing. 更多...
 
EComponentCreationMethod CreationMethod
 Describes how a component instance will be created
 
FActorComponentActivatedSignature OnComponentActivated
 Called when the component has been activated, with parameter indicating if it was from a reset
 
FActorComponentDeactivateSignature OnComponentDeactivated
 Called when the component has been deactivated
 
struct FActorComponentTickFunction PrimaryComponentTick
 Main tick function for the Component
 
- 静态 Public 属性 继承自 USceneComponent
static int32 SkipUpdateOverlapsOptimEnabled
 Global flag to enable/disable overlap optimizations, settable with p.SkipUpdateOverlapsOptimEnabled cvar
 
- 静态 Public 属性 继承自 UActorComponent
static const FString ComponentTemplateNameSuffix
 Prefix used to identify template component instances
 
static FActorComponentGlobalCreatePhysicsSignature GlobalCreatePhysicsDelegate
 Create component physics state global delegate.
 
static FActorComponentGlobalDestroyPhysicsSignature GlobalDestroyPhysicsDelegate
 Destroy component physics state global delegate.
 
static FOnMarkRenderStateDirty MarkRenderStateDirtyEvent
 Called When render state is marked dirty
 
- 静态 Protected 成员函数 继承自 UActorComponent
static const FName GetReplicatesPropertyName ()
 Gets the property name for bReplicates. 更多...
 
- 静态 Protected 成员函数 继承自 UObjectBaseUtility
static void CreateClusterFromObject (UObjectBaseUtility *ClusterRootObject, UObjectBaseUtility *ReferencingObject)
 Helper function to create a cluster from UObject
 
- Protected 属性 继承自 USceneComponent
uint8 bDisableDetachmentUpdateOverlaps:1
 Transient flag that temporarily disables UpdateOverlaps within DetachFromParent().
 
uint8 bWantsOnUpdateTransform:1
 If true, OnUpdateTransform virtual will be called each time this component is moved.
 
- Protected 属性 继承自 UActorComponent
TArray< UAssetUserData * > AssetUserData
 Array of user data stored with the component
 
uint8 bAllowReregistration:1
 Check whether the component class allows reregistration during ReregisterAllComponents
 
uint8 bCanEverAffectNavigation: 1
 Whether this component can potentially influence navigation
 
uint8 bNetAddressable:1
 Is this component safe to ID over the network by name?

 
uint8 bPhysicsStateCreated:1
 If the physics state is currently created for this component
 
uint8 bRegistered:1
 Indicates if this ActorComponent is currently registered with a scene.
 
uint8 bRenderStateCreated:1
 If the render state is currently created for this component
 

详细描述

PostProcessComponent.

Enables Post process controls for blueprints. Will use a parent UShapeComponent to provide volume data if available.

成员函数说明

◆ OnUnregister()

virtual void UPostProcessComponent::OnUnregister ( )
overrideprotectedvirtual

Called when a component is unregistered.

Called after DestroyRenderState_Concurrent and OnDestroyPhysicsState are called.

重载 USceneComponent .

◆ Serialize()

virtual void UPostProcessComponent::Serialize ( FArchive &  Ar)
overrideprotectedvirtual

Handles reading, writing, and reference collecting using FArchive.

This implementation handles all FProperty serialization, but can be overridden for native variables.

重载 UActorComponent .


该类的文档由以下文件生成: