mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-28 03:24:43 +08:00
Constant Material nodes added
This commit is contained in:
@@ -9,15 +9,15 @@ import VectorEntity from "../../entity/VectorEntity.js"
|
||||
export default class VectorPinTemplate extends INumericPinTemplate {
|
||||
|
||||
#getX() {
|
||||
return Utility.minDecimals(this.element.getDefaultValue()?.X ?? 0)
|
||||
return Utility.printNumber(this.element.getDefaultValue()?.X ?? 0)
|
||||
}
|
||||
|
||||
#getY() {
|
||||
return Utility.minDecimals(this.element.getDefaultValue()?.Y ?? 0)
|
||||
return Utility.printNumber(this.element.getDefaultValue()?.Y ?? 0)
|
||||
}
|
||||
|
||||
#getZ() {
|
||||
return Utility.minDecimals(this.element.getDefaultValue()?.Z ?? 0)
|
||||
return Utility.printNumber(this.element.getDefaultValue()?.Z ?? 0)
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user