mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-14 09:10:39 +08:00
47 lines
1.5 KiB
Markdown
47 lines
1.5 KiB
Markdown
# UEBlueprint
|
|
|
|
A stand alone editor implementation of the UE's Blueprint visual language. (WIP)
|
|
|
|
## Features:
|
|
|
|
- Intercommunicates with UE (can copy nodes both ways).
|
|
- Can be used as a WEB library to visualize, interact and modify Blueprint graphs.
|
|
- Can be used inside VS Code to operate directly on files from a UE project (in the future).
|
|
- Graph shown is pixel-similar to how it appears in UE.
|
|
- Graph behaves the same way as it does in UE (with the default settings).
|
|
- All the information shown in he graph is just the one embedded in the serialized text (in VS Code it should be able to access assets also).
|
|
- Modern object oriented, clean, JavaScript codebase.
|
|
|
|
## Demo:
|
|
[Try it!](https://barsdeveloper.github.io/ueblueprint/)
|
|
|
|

|
|
|
|
|
|
## How to use:
|
|
|
|
You can check `index.html` f0r a working example, the main steps are the following:
|
|
1. Include `dist/css/ueb-style.css` stylesheet in your page.
|
|
2. Define eventual CSS variables .
|
|
```HTML
|
|
<style>
|
|
ueb-blueprint {
|
|
--ueb-height: 500px;
|
|
}
|
|
</style>
|
|
```
|
|
3. Import the class Blueprint in JavaScript (this library uses modules).
|
|
```HTML
|
|
<script type="module">
|
|
import { Blueprint } from "./dist/ueblueprint.js"
|
|
</script>
|
|
```
|
|
4. Define your blueprint the by just writing the code inside a `ueb-blueprint`, inside a `template` element.
|
|
```HTML
|
|
<ueb-blueprint>
|
|
<template>
|
|
...
|
|
</template>
|
|
</ueb-blueprint>
|
|
```
|