mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-04 08:17:41 +08:00
Adjusting node sizes further and tests fixes
This commit is contained in:
@@ -89,6 +89,7 @@ export default class Configuration {
|
||||
static paths = {
|
||||
addDelegate: "/Script/BlueprintGraph.K2Node_AddDelegate",
|
||||
ambientSound: "/Script/Engine.AmbientSound",
|
||||
asyncAction: "/Script/BlueprintGraph.K2Node_AsyncAction",
|
||||
blueprint: "/Script/Engine.Blueprint",
|
||||
blueprintMapLibrary: "/Script/Engine.BlueprintMapLibrary",
|
||||
blueprintSetLibrary: "/Script/Engine.BlueprintSetLibrary",
|
||||
|
||||
@@ -133,6 +133,15 @@ export default class ObjectEntity extends IEntity {
|
||||
bColorCommentBubble: {
|
||||
type: Boolean,
|
||||
},
|
||||
ProxyFactoryFunctionName: {
|
||||
type: String,
|
||||
},
|
||||
ProxyFactoryClass: {
|
||||
type: ObjectReferenceEntity,
|
||||
},
|
||||
ProxyClass: {
|
||||
type: ObjectReferenceEntity,
|
||||
},
|
||||
R: {
|
||||
type: Number,
|
||||
},
|
||||
@@ -322,6 +331,9 @@ export default class ObjectEntity extends IEntity {
|
||||
/** @type {LinearColorEntity?} */ this.CommentColor
|
||||
/** @type {Boolean?} */ this.bCommentBubbleVisible_InDetailsPanel
|
||||
/** @type {Boolean?} */ this.bColorCommentBubble
|
||||
/** @type {String?} */ this.ProxyFactoryFunctionName
|
||||
/** @type {ObjectReferenceEntity?} */ this.ProxyFactoryClass
|
||||
/** @type {ObjectReferenceEntity?} */ this.ProxyClass
|
||||
/** @type {Number?} */ this.R
|
||||
/** @type {Number?} */ this.G
|
||||
/** @type {ObjectReferenceEntity?} */ this.MaterialExpression
|
||||
@@ -545,6 +557,10 @@ export default class ObjectEntity extends IEntity {
|
||||
nodeDisplayName() {
|
||||
let input
|
||||
switch (this.getType()) {
|
||||
case Configuration.paths.asyncAction:
|
||||
if (this.ProxyFactoryFunctionName) {
|
||||
return Utility.formatStringName(this.ProxyFactoryFunctionName)
|
||||
}
|
||||
case Configuration.paths.componentBoundEvent:
|
||||
return `${Utility.formatStringName(this.DelegatePropertyName)} (${this.ComponentPropertyName})`
|
||||
case Configuration.paths.createDelegate:
|
||||
@@ -830,6 +846,7 @@ export default class ObjectEntity extends IEntity {
|
||||
|
||||
nodeIcon() {
|
||||
switch (this.getType()) {
|
||||
case Configuration.paths.asyncAction:
|
||||
case Configuration.paths.addDelegate:
|
||||
case Configuration.paths.createDelegate:
|
||||
case Configuration.paths.functionEntry:
|
||||
|
||||
Reference in New Issue
Block a user