Content can be loaded in multiple ways, depending on wether or not you'd like to load it from C# or in Xaml. Typically, if you're creating a multi-platform solution, you would do this in the game class. This page will show how
to do it from Xaml, if you need to do it from C#, please go to
for more details.
For handling 3D geometries that are loaded from a file, there is a control called Mesh, also located in the Balder.Objects.Geometries namespace. The control is a Node and has all the properties of a node, such as positioning, color and more. For specifying
what 3D model to load, it has a property called AssetName. The AssetName can be specified in two ways, either as a relative path to the path defined in the ContentManager, which is by default pointing to a subfolder in your Silverlight project called Assets.
You can in addition specify in detail were your asset is located, and the Silverlight implementation of the file loading mechanism will load the asset correctly. The format of the specific path is : "/Package
All assets must be marked as "Resource" in the "Build Action" property of the file in your project.
Add the mesh control:
Or referencing it with a full path: