Displaying a 3D object in the UI
Download Source Code|attachment (.rbxl) (33.2 KB)
When is it needed?
When you need to build a prototype game. Or display 3D models in your inventory. It will also work for you if you have not worked with ViewPort before.
local ViewPortPriview = require(game.ReplicatedStorage.ViewPortPriview); local myVP = ViewPortPriview.New(script.Parent.Frame , game.ReplicatedStorage.Blocks.Part);