public override void GetObjectProperties(Mogre.NameValuePairList retList) { retList.Clear(); retList["Name"] = this.name; retList["Position"] = Mogre.StringConverter.ToString(this.position); retList["Orientation"] = Mogre.StringConverter.ToString(this.orientation); retList["Scale"] = Mogre.StringConverter.ToString(this.scale); retList["AutoTrackTarget"] = this.autoTrackTarget; }
public override void GetObjectProperties(Mogre.NameValuePairList retList) { retList.Clear(); retList["Name"] = this.name; }
public override void GetObjectProperties(Mogre.NameValuePairList retList) { retList.Clear(); retList["Name"] = this.name; retList["SceneManagerType"] = SceneMangerType; retList["Ambient"] = Mogre.StringConverter.ToString(this.ambient); retList["SkyBoxActive"] = Mogre.StringConverter.ToString(this.skyBoxActive); retList["SkyBoxMaterial"] = this.skyBoxMaterial; retList["SkyBoxDistance"] = Mogre.StringConverter.ToString(this.skyBoxDistance); switch (this.fogMode) { case Mogre.FogMode.FOG_NONE: retList["FogMode"] = "None"; break; case Mogre.FogMode.FOG_LINEAR: retList["FogMode"] = "Linear"; break; case Mogre.FogMode.FOG_EXP: retList["FogMode"] = "Exp"; break; case Mogre.FogMode.FOG_EXP2: retList["FogMode"] = "Exp2"; break; } retList["FogColour"] = Mogre.StringConverter.ToString(this.fogColour); retList["FogStart"] = Mogre.StringConverter.ToString(this.fogStart); retList["FogEnd"] = Mogre.StringConverter.ToString(this.fogEnd); retList["FogDensity"] = Mogre.StringConverter.ToString(this.fogDensity); }
public virtual void GetObjectProperties(Mogre.NameValuePairList retList) { retList.Clear(); retList["Name"] = Name; }
public override void GetObjectProperties(Mogre.NameValuePairList retList) { retList.Clear(); retList["Name"] = this.name; retList["Colour"] = Mogre.StringConverter.ToString(this.colour); retList["Index"] = Mogre.StringConverter.ToString(ViewportIndex); retList["Dimensions"] = Mogre.StringConverter.ToString(this.dimensions); retList["Overlays"] = Mogre.StringConverter.ToString(this.overlays); retList["Skies"] = Mogre.StringConverter.ToString(this.skies); retList["Shadows"] = Mogre.StringConverter.ToString(this.shadows); retList["CamPosition"] = Mogre.StringConverter.ToString(ViewCamera.Position); retList["CamOrientation"] = Mogre.StringConverter.ToString(ViewCamera.Orientation); retList["CamFOV"] = Mogre.StringConverter.ToString(ViewCamera.FOV); retList["CamPolyMode"] = Mogre.StringConverter.ToString((int)ViewCamera.PolygonMode); retList["CamClipDistance"] = Mogre.StringConverter.ToString(ViewCamera.ClipDistance); Mogre.CompositorManager comMngr = Mogre.CompositorManager.Singleton; if (!comMngr.HasCompositorChain(this.handle)) return; int count = 0; Mogre.CompositorChain chain = comMngr.GetCompositorChain(this.handle); foreach (Mogre.CompositorInstance compositor in chain.GetCompositors()) { Mogre.Compositor sub = compositor.Compositor; if (sub == null) continue; if (sub.Name.Substring(1, 7) == "_Hydrax") continue; string compId = "Compositor" + Mogre.StringConverter.ToString(count); retList[compId + "Name"] = sub.Name; retList[compId + "Enabled"] = Mogre.StringConverter.ToString(compositor.Enabled); count++; } }
public override void GetObjectProperties(Mogre.NameValuePairList retList) { retList.Clear(); retList["Name"] = Name; retList["Position"] = Mogre.StringConverter.ToString(Position); retList["Orientation"] = Mogre.StringConverter.ToString(Orientation); retList["ClipDistance"] = Mogre.StringConverter.ToString(ClipDistance); retList["FOV"] = Mogre.StringConverter.ToString(FOV); }