Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/Preferences
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UPersonaOptions
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Classes/Preferences/PersonaOptions.h |
| Include | #include "Preferences/PersonaOptions.h" |
Syntax
class UPersonaOptions : public UObject
Variables
| Type | Name | Description | |
|---|---|---|---|
| FLinearColor | AffectedBoneColor | ||
| FString | AnimationCurveGroupingDelimiters | Delimiters to split animation curve names for grouping | |
| TArray< FAssetEditorOptions > | AssetEditorOptions | Options that should be unique per asset editor (like skeletal mesh or anim sequence editors) | |
| bool | bAllowIncompatibleSkeletonSelection | Whether to allow animation assets that are incompatible with the current skeleton/skeletal mesh to be selected. | |
| bool | bAllowMeshSectionSelection | Whether or not Skeletal Mesh Section selection should be enabled by default for the Animation Editor(s) | |
| bool | bAllowPreviewMeshCollectionsToSelectFromDifferentSkeletons | ||
| bool | bAllowPreviewMeshCollectionsToUseCustomAnimBP | ||
| uint32: 1 | bAlwaysOpenAnimationAssetsInNewTab | Whether or not the Animation Editor opens in an additional tab when double clicking an animation asset or if it reuses an already existing Animation Editor tab. | |
| uint32: 1 | bAutoAlignFloorToMesh | Whether or not the floor should be aligned to the Skeletal Mesh's bounds by default for the Animation Editor(s) | |
| bool | bExpandTreeOnSelection | Whether to focus and expand an item's tree recursively based on selection | |
| bool | bExposeClothingSceneElementMenu | ||
| bool | bExposeNotifiesUICommands | ||
| bool | bFlattenSkeletonHierarchyWhenFiltering | Whether to keep the hierarchy or flatten it when searching for bones, sockets etc. | |
| bool | bHideParentsWhenFiltering | Whether to hide parent items when filtering or to display them grayed out | |
| uint32: 1 | bHighlightOrigin | Whether or not the XYZ axis at the origin should be highlighted on the grid by default | |
| uint32: 1 | bMuteAudio | Whether or not audio should be muted by default for the Animation Editor(s) | |
| bool | bPauseAnimationOnCameraMove | Pause the preview animation if playing when moving the camera and resume when finished | |
| FLinearColor | BranchingPointTimingNodeColor | ||
| uint32: 1 | bShowGrid | Whether or not the grid should be visible by default for the Animation Editor(s) | |
| bool | bTimelineDisplayCurveKeys | Whether to display keys in the timeline's curve tracks | |
| bool | bTimelineDisplayFormatSecondary | Whether to display secondary format (times/frames) in the anim timeline | |
| bool | bTimelineDisplayPercentage | Whether to display percentage in the anim timeline | |
| uint32: 1 | bUseAudioAttenuation | ||
| bool | bUseInlineSocketEditor | Whether to use a socket editor that is created in-line inside the skeleton tree, or whether to use the separate details panel | |
| bool | bUseTreeViewForAnimationCurves | Whether to use tree view for animation curves | |
| float | CurveEditorSnapInterval | Snap value used to determine scrub resolution of the curve timeline | |
| FLinearColor | DefaultBoneColor | ||
| uint32 | DefaultBoneDrawSelection | Index used to determine which Bone Draw Mode should be used by default for the Animation Editor(s) | |
| uint32 | DefaultLocalAxesSelection | Index used to determine which ViewMode should be used by default for the Animation Editor(s) | |
| FLinearColor | DisabledBoneColor | ||
| FLinearColor | NotifyTimingNodeColor | ||
| uint32 | NumFolderFiltersInAssetBrowser | The number of folder filters to allow at any one time in the animation tool's asset browser | |
| FOnUpdateSettingsMulticaster | OnSettingsChange | ||
| FLinearColor | ParentOfSelectedBoneColor | ||
| FLinearColor | SectionTimingNodeColor | ||
| FLinearColor | SelectedBoneColor | ||
| int32 | ShowMeshStats | Currently Stats can have None, Basic and Detailed. Please refer to EDisplayInfoMode. | |
| EFrameNumberDisplayFormats | TimelineDisplayFormat | Display format for the anim timeline | |
| TArray< FName > | TimelineEnabledSnaps | Whether to snap to various things | |
| int32 | TimelineScrubSnapValue | Snap value used to determine scrub resolution of the anim timeline | |
| FLinearColor | VirtualBoneColor |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UPersonaOptions
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FNamePermissionList & | |||
| bool | |||
| FAssetEditorOptions & | GetAssetEditorOptions
(
const FName& InContext |
||
| bool | IsAllowedClass
(
const UClass* InClass |
Returns whether or not the supplied class can be used in the current editor context. | |
| bool | IsAllowedProperty
(
const FProperty* InProperty |
Returns whether or not the supplied properties can be used in the current editor context. | |
| FDelegateHandle | RegisterOnUpdateSettings
(
const FOnUpdateSettingsMulticaster::FDelegate& Delegate |
||
| void | SetAllowIncompatibleSkeletonSelection
(
bool bState |
||
| void | SetAutoAlignFloorToMesh
(
bool bInAutoAlignFloorToMesh |
||
| void | SetBranchingPointTimingNodeColor
(
const FLinearColor& InColor |
||
| void | SetCameraSpeed
(
FName InContext, |
||
| void | SetCameraSpeedScalar
(
FName InContext, |
||
| void | SetDefaultBoneDrawSelection
(
uint32 InDefaultBoneAxesSelection |
||
| void | SetDefaultLocalAxesSelection
(
uint32 InDefaultLocalAxesSelection |
||
| void | SetHighlightOrigin
(
bool bInHighlightOrigin |
||
| void | SetMuteAudio
(
bool bInMuteAudio |
||
| void | SetNotifyTimingNodeColor
(
const FLinearColor& InColor |
||
| void | SetOnIsClassAllowed
(
const FOnIsClassAllowed& InOnIsClassAllowed |
Sets a delegate that allows external code to restrict which features can be used within the Persona editor by filtering which classes are allowed. | |
| void | SetOnIsPropertyAllowed
(
const FOnIsPropertyAllowed& InOnIsPropertyAllowed |
Sets a delegate that allows external code to restrict which features can be used within the Persona editor by filtering which properties are allowed. | |
| void | SetSectionTimingNodeColor
(
const FLinearColor& InColor |
||
| void | SetShowGrid
(
bool bInShowGrid |
||
| void | SetShowMeshStats
(
int32 InShowMeshStats |
||
| void | SetUseAudioAttenuation
(
bool bInUseAudioAttenuation |
||
| void | SetViewCameraFollow
(
FName InContext, |
||
| void | SetViewFOV
(
FName InContext, |
||
| void | SetViewModeIndex
(
FName InContext, |
||
| void | UnregisterOnUpdateSettings
(
FDelegateHandle Object |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |
Typedefs
| Name | Description |
|---|---|
| FOnIsClassAllowed | |
| FOnIsPropertyAllowed | |
| FOnUpdateSettingsMulticaster |