public TransformComponent() : base(ComponentTypeManager.GetType <TransformComponent>()) { Local = Matrix.Identity; World = Matrix.Identity; Translation = Matrix.Identity; Rotation = Matrix.Identity; Scaling = Matrix.Identity; }
public CameraComponent() : base(ComponentTypeManager.GetType <CameraComponent>()) { Index = 0; NearClip = 1.0f; FarClip = 1000.0f; FieldOfView = (float)(Math.PI / 4); Up = Vector3.UnitY; Type = CameraType.Perspective; }
public MaterialComponent() : base(ComponentTypeManager.GetType <MaterialComponent>()) { AmbientCoefficient = 1; DiffuseCoefficient = 1; SpecularCoefficient = 1f; SpecularPower = 16f; Specular = new Color4(1f, 1f, 1f, 1f); Ambient = new Color4(0.1f, 0.1f, 0.1f, 1f); Diffuse = new Color4(0.25f, 0.75f, 0.25f, 1); }
public TargetComponent() : base(ComponentTypeManager.GetType <TargetComponent>()) { Location = Vector3.Zero; }
public OrientationComponent() : base(ComponentTypeManager.GetType <OrientationComponent>()) { Orientation = Quaternion.Identity; }
public UserInterfaceComponent() : base(ComponentTypeManager.GetType <UserInterfaceComponent>()) { }
public ScreenshotComponent() : base(ComponentTypeManager.GetType <ScreenshotComponent>()) { RenderPostProcessEffects = true; }
public ModelComponent() : base(ComponentTypeManager.GetType <ModelComponent>()) { }
public UpdateComponent() : base(ComponentTypeManager.GetType <UpdateComponent>()) { RequiresUpdate = true; }
public ScalingComponent() : base(ComponentTypeManager.GetType <ScalingComponent>()) { Scale = new Vector3(1, 1, 1); }
public DiffuseMappingComponent() : base(ComponentTypeManager.GetType(typeof(ContentComponent))) { TextureMap = new Dictionary <string, Texture>(); }
public BlurComponent() : base(ComponentTypeManager.GetType <BlurComponent>()) { SampleCount = Blur.SampleCount; }
public RotationComponent() : base(ComponentTypeManager.GetType <RotationComponent>()) { w = Vector3.Zero; }
public PostProcessComponent() : base(ComponentTypeManager.GetType <PostProcessComponent>()) { actions = new List <PostProcessAction>(); commandManager = new CommandManager(); Target = TargetOutput.Backbuffer; }
public PointLightComponent() : base(ComponentTypeManager.GetType <PointLightComponent>()) { }
public AnimationComponent() : base(ComponentTypeManager.GetType(typeof(AnimationComponent))) { Controller = new AnimationController(); }
public DesignerComponent() : base(ComponentTypeManager.GetType <DesignerComponent>()) { }
public ParentComponent() : base(ComponentTypeManager.GetType <ParentComponent>()) { }
public ShaderComponent() : base(ComponentTypeManager.GetType <ShaderComponent>()) { Key = "Default"; }
public SpriteComponent() : base(ComponentTypeManager.GetType <SpriteComponent>()) { ScaleFactor = 1; }
public PositionComponent() : base(ComponentTypeManager.GetType <PositionComponent>()) { Position = Vector3.Zero; }