Comments (1)
To make a window "transparent", you can either use UI.WindowBegin
/End
with UIWin.Head
or UIWin.Empty
, or skip the window and use UI.Push
/PopSurface
.
Making a button background use an image is more work. I'd probably recommend avoiding it unless it's critical? You basically need to texture the button in order to do it, which gets into some technical art work. If it's something where you have no choice in the matter, or you're comfortable with that sort of work, I'd peek here at an "Edge decoration" sample I put together. This sample is more targeted towards solid colors, but totally works with images as well.
You may also be interested in creating your own custom buttons as well. If you use UI.ButtonBehavior
, you can get all of SK's button behavior, but without any of the rendering. This lets you render whatever you'd like instead of what SK provides.
from stereokit.
Related Issues (20)
- Update partial rect of `Tex`
- OriginMode strange behavior on Quest HOT 6
- Why does Stereokit not have a gesture model on Snapdragon Spaces HOT 2
- Hyphens in directory name not handled well by dotnet new HOT 2
- `Renderer.RenderTo` results in y-inverted image with Android HOT 2
- How Stereokit interacts with Unity?
- Need some way of loading a GLSL shader directly instead of converting from HLSL, or a binding in skshaderc for GLSL samplerExternalOES HOT 4
- Platform.ReadFileBytes(filename) and Assets dir HOT 4
- Unicode rendering missing character in Linux simulator HOT 2
- How to use Stereokit to develop overlay applications?How Stereokit interacts with OpenXL?
- Hand tracking problems when piching to grab an object HOT 3
- Segfault when reading gltf using EXT_meshopt_compression / ... HOT 1
- Add Window UIMove mode: face user, but rotate around Y only HOT 3
- How to instantly switch between VST and VR modes
- Ready Player Me GLTFs pack data in a way SK doesn't recognize
- Documentation broken link: Vec3.cs, Dot method
- Predicted pose updates eat JustChanged events
- Asset creation threading issue.
- Capability to set `UI.Input` as focused by default
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stereokit.