mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-04 18:11:01 -05:00
17 lines
400 B
Lua
17 lines
400 B
Lua
local spec = {
|
|
Type = "ScreenSpaceVideo",
|
|
Identifier = "ScreenSpaceVideoExample",
|
|
Name = "Screen Space Browser Example",
|
|
Video = "C:/Users/ylvaselling/Documents/Work/Testmovies/chlorophyll_model_2048.mp4",
|
|
};
|
|
|
|
asset.onInitialize(function()
|
|
openspace.addScreenSpaceRenderable(spec)
|
|
end)
|
|
|
|
asset.onDeinitialize(function()
|
|
openspace.removeScreenSpaceRenderable(spec)
|
|
end)
|
|
|
|
asset.export(spec)
|