Navigation
API > API/Editor > API/Editor/UnrealEd
| Name | FComponentEditorUtils |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/Kismet2/ComponentEditorUtils.h |
| Include Path | #include "Kismet2/ComponentEditorUtils.h" |
Syntax
class FComponentEditorUtils
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void AdjustComponentDelta
(
const USceneComponent* Component, |
Potentially transforms the delta to be applied to a component into the appropriate space | Kismet2/ComponentEditorUtils.h | |
static bool ApplyDefaultValueChange
(
USceneComponent* InSceneComponent, |
Given an instance of a template and a property, set a default value change to the instance (only if applicable) | Kismet2/ComponentEditorUtils.h | |
static bool ApplyDefaultValueChange
(
USceneComponent* InSceneComponent, |
Bool specialization so it can properly handle bitfields. | Kismet2/ComponentEditorUtils.h | |
static bool ApplyDefaultValueChange
(
USceneComponent* InSceneComponent, |
Given an instance of a template and a current value, propagates a default value change to the instance (only if applicable) | Kismet2/ComponentEditorUtils.h | |
static bool AttemptApplyMaterialToComponent
(
USceneComponent* SceneComponent, |
Attempts to apply a material to a component at the specified slot. | Kismet2/ComponentEditorUtils.h | |
static void BindComponentSelectionOverride
(
USceneComponent* SceneComponent, |
Ensures that the selection override delegate is properly bound for the supplied component This includes any attached editor-only primitive components (such as billboard visualizers) | Kismet2/ComponentEditorUtils.h | |
static bool CanCopyComponent
(
const UActorComponent* ComponentToCopy |
Checks whether it is valid to copy the given component | Kismet2/ComponentEditorUtils.h | |
static bool CanCopyComponents
(
const TArray< UActorComponent* >& ComponentsToCopy |
Checks whether it is valid to copy the indicated components | Kismet2/ComponentEditorUtils.h | |
static bool CanDeleteComponent
(
const UActorComponent* ComponentToDelete |
Determines whether the indicated component can be deleted | Kismet2/ComponentEditorUtils.h | |
static bool CanDeleteComponents
(
const TArray< UActorComponent* >& ComponentsToDelete |
Determines whether the indicated components can be deleted | Kismet2/ComponentEditorUtils.h | |
static bool CanEditComponentInstance
(
const UActorComponent* ActorComp, |
Is the instance component is editable | Kismet2/ComponentEditorUtils.h | |
static bool CanPasteComponents
(
const USceneComponent* RootComponent, |
Determines whether the current contents of the clipboard contain paste-able component information | Kismet2/ComponentEditorUtils.h | |
static void CopyComponents
(
const TArray< UActorComponent* >& ComponentsToCopy, |
Copies the selected components to the clipboard | Kismet2/ComponentEditorUtils.h | |
static int32 DeleteComponents
(
const TArray< UActorComponent* >& ComponentsToDelete, |
Deletes the indicated components and identifies the component that should be selected following the operation. | Kismet2/ComponentEditorUtils.h | |
static UActorComponent * DuplicateComponent
(
UActorComponent* TemplateComponent |
Duplicates a component instance and takes care of attachment and registration. | Kismet2/ComponentEditorUtils.h | |
static void FillComponentContextMenuOptions
(
UToolMenu* Menu, |
Populates the given menu with basic options for operations on components in the world. | Kismet2/ComponentEditorUtils.h | |
static USceneComponent * FindClosestParentInList
(
UActorComponent* ChildComponent, |
Kismet2/ComponentEditorUtils.h | ||
static UActorComponent * FindMatchingComponent
(
const UActorComponent* ComponentInstance, |
Tries to find a match for ComponentInstance in the ComponentList. | Kismet2/ComponentEditorUtils.h | |
static FName FindVariableNameGivenComponentInstance
(
const UActorComponent* ComponentInstance |
Try to find the correct variable name for a given native component template or instance (which can have a mismatch) | Kismet2/ComponentEditorUtils.h | |
static FString GenerateValidVariableName
(
TSubclassOf< UActorComponent > InComponentClass, |
Generate a valid variable name string for the given component instance | Kismet2/ComponentEditorUtils.h | |
| Generate a valid variable name string for the given component instance based on the name of the asset referenced by the component | Kismet2/ComponentEditorUtils.h | ||
| Gets the copied components from the clipboard without attempting to paste/apply them in any way | Kismet2/ComponentEditorUtils.h | ||
static FProperty * GetPropertyForEditableNativeComponent
(
const UActorComponent* NativeComponent |
Test if the native component is editable. | Kismet2/ComponentEditorUtils.h | |
static bool IsComponentNameAvailable
(
const FString& InString, |
Test whether or not the given string is already the name string of a component on the the owner Optionally excludes an existing component from the check (ex. a component currently being renamed) | Kismet2/ComponentEditorUtils.h | |
static bool IsValidVariableNameString
(
const UActorComponent* InComponent, |
Test whether or not the given string is a valid variable name string for the given component instance | Kismet2/ComponentEditorUtils.h | |
static FComponentReference MakeComponentReference
(
const AActor* ExpectedComponentOwner, |
Make a FComponentReference from a component pointer. | Kismet2/ComponentEditorUtils.h | |
static void OnEditBlueprintComponent
(
UObject* Blueprint |
Kismet2/ComponentEditorUtils.h | ||
static void OnGoToComponentAssetInBrowser
(
UObject* Asset |
Kismet2/ComponentEditorUtils.h | ||
static void OnOpenComponentCodeFile
(
const FString CodeFileName |
Kismet2/ComponentEditorUtils.h | ||
static void PasteComponents
(
TArray< UActorComponent* >& OutPastedComponents, |
Attempts to paste components from the clipboard as siblings of the target component | Kismet2/ComponentEditorUtils.h | |
static void PropagateDefaultValueChange
(
USceneComponent* InSceneComponentTemplate, |
Given a template and a property, propagates a default value change to all instances (only if applicable) | Kismet2/ComponentEditorUtils.h |