|
|
@@ -89,6 +89,7 @@ namespace BansheeEditor
|
|
|
/// Creates a new scene object with a camera component.
|
|
|
/// </summary>
|
|
|
[MenuItem("Scene Objects/Camera", 8050)]
|
|
|
+ [ToolbarItem("Camera", ToolbarIcon.NewCamera, "", 1600, true)]
|
|
|
private static void AddCameraSO()
|
|
|
{
|
|
|
SceneObject so = UndoRedo.CreateSO("Camera", "Created a Camera");
|
|
|
@@ -101,6 +102,7 @@ namespace BansheeEditor
|
|
|
/// Creates a new scene object with a renderable component.
|
|
|
/// </summary>
|
|
|
[MenuItem("Scene Objects/Renderable", 8049)]
|
|
|
+ [ToolbarItem("Renderable", ToolbarIcon.NewRenderable, "", 1599)]
|
|
|
private static void AddRenderableSO()
|
|
|
{
|
|
|
SceneObject so = UndoRedo.CreateSO("Renderable", "Created a Renderable");
|
|
|
@@ -113,6 +115,7 @@ namespace BansheeEditor
|
|
|
/// Creates a new scene object with a point light component.
|
|
|
/// </summary>
|
|
|
[MenuItem("Scene Objects/Point light", 8048)]
|
|
|
+ [ToolbarItem("Point light", ToolbarIcon.NewPointLight, "", 1598)]
|
|
|
private static void AddPointLightSO()
|
|
|
{
|
|
|
SceneObject so = UndoRedo.CreateSO("Point light", "Created a Light");
|
|
|
@@ -126,6 +129,7 @@ namespace BansheeEditor
|
|
|
/// Creates a new scene object with a spot light component.
|
|
|
/// </summary>
|
|
|
[MenuItem("Scene Objects/Spot light", 8047)]
|
|
|
+ [ToolbarItem("Spot light", ToolbarIcon.NewSpotLight, "", 1597)]
|
|
|
private static void AddSpotLightSO()
|
|
|
{
|
|
|
SceneObject so = UndoRedo.CreateSO("Spot light", "Created a Light");
|
|
|
@@ -139,6 +143,7 @@ namespace BansheeEditor
|
|
|
/// Creates a new scene object with a directional light component.
|
|
|
/// </summary>
|
|
|
[MenuItem("Scene Objects/Directional light", 8046)]
|
|
|
+ [ToolbarItem("Directional light", ToolbarIcon.NewDirLight, "", 1596)]
|
|
|
private static void AddDirectionalLightSO()
|
|
|
{
|
|
|
SceneObject so = UndoRedo.CreateSO("Directional light", "Created a Light");
|
|
|
@@ -152,6 +157,7 @@ namespace BansheeEditor
|
|
|
/// Creates a new scene object with a box primitive.
|
|
|
/// </summary>
|
|
|
[MenuItem("Scene Objects/3D primitives/Box", 8100)]
|
|
|
+ [ToolbarItem("Cube", ToolbarIcon.NewCube, "", 1700, true)]
|
|
|
private static void Add3DBox()
|
|
|
{
|
|
|
SceneObject so = UndoRedo.CreateSO("Box", "Created a box");
|
|
|
@@ -165,6 +171,7 @@ namespace BansheeEditor
|
|
|
/// Creates a new scene object with a sphere primitive.
|
|
|
/// </summary>
|
|
|
[MenuItem("Scene Objects/3D primitives/Sphere", 8099)]
|
|
|
+ [ToolbarItem("Sphere", ToolbarIcon.NewSphere, "", 1699)]
|
|
|
private static void Add3DSphere()
|
|
|
{
|
|
|
SceneObject so = UndoRedo.CreateSO("Sphere", "Created a sphere");
|
|
|
@@ -178,6 +185,7 @@ namespace BansheeEditor
|
|
|
/// Creates a new scene object with a cone primitive.
|
|
|
/// </summary>
|
|
|
[MenuItem("Scene Objects/3D primitives/Cone", 8098)]
|
|
|
+ [ToolbarItem("Cone", ToolbarIcon.NewCone, "", 1698)]
|
|
|
private static void Add3DCone()
|
|
|
{
|
|
|
SceneObject so = UndoRedo.CreateSO("Cone", "Created a cone");
|
|
|
@@ -191,6 +199,7 @@ namespace BansheeEditor
|
|
|
/// Creates a new scene object with a quad primitive.
|
|
|
/// </summary>
|
|
|
[MenuItem("Scene Objects/3D primitives/Quad", 8097)]
|
|
|
+ [ToolbarItem("Quad", ToolbarIcon.NewQuad, "", 1697)]
|
|
|
private static void Add3DQuad()
|
|
|
{
|
|
|
SceneObject so = UndoRedo.CreateSO("Quad", "Created a quad");
|