public OptionValues() { BackgroundColor = new Value.Color(0, 0, 0, 255); BackgroundImage = new Value.PathForImage("画像ファイル (*.png)|*.png", false, ""); GridColor = new Value.Color(255, 255, 255, 255); IsGridShown = new Value.Boolean(true); IsXYGridShown = new Value.Boolean(false); IsXZGridShown = new Value.Boolean(true); IsYZGridShown = new Value.Boolean(false); GridLength = new Value.Float(2, float.MaxValue, 0.1f); LightDirection = new Value.Vector3D(1, 1, 1, 1, -1, 1, -1, 1, -1, 0.1f, 0.1f, 0.1f); LightColor = new Value.Color(215, 215, 215, 255); LightAmbientColor = new Value.Color(40, 40, 40, 255); Magnification = new Value.Float(1, float.MaxValue, 0.00001f); FPS = new Value.Enum<FPSType>(FPSType._60FPS); Coordinate = new Value.Enum<CoordinateType>(CoordinateType.Right); ColorSpace = new Value.Enum<ColorSpaceType>(ColorSpaceType.GammaSpace); MouseRotInvX = new Value.Boolean(false); MouseRotInvY = new Value.Boolean(false); MouseSlideInvX = new Value.Boolean(false); MouseSlideInvY = new Value.Boolean(false); GuiLanguage = new Value.Enum<Language>(Core.Language); }
internal AttractiveForceParamater() { Force = new Value.Float(0.0f, float.MaxValue, float.MinValue, 0.01f); Control = new Value.Float(1.0f, float.MaxValue, float.MinValue, 0.1f); MinRange = new Value.Float(0.0f, 1000.0f, 0.0f, 1.0f); MaxRange = new Value.Float(0.0f, 1000.0f, 0.0f, 1.0f); }
internal RendererCommonValues() { ColorTexture = new Value.PathForImage("画像ファイル (*.png)|*.png", true, ""); AlphaBlend = new Value.Enum<AlphaBlendType>(AlphaBlendType.Blend); Filter = new Value.Enum<FilterType>(FilterType.Linear); Wrap = new Value.Enum<WrapType>(WrapType.Repeat); FadeInType = new Value.Enum<FadeType>(FadeType.None); FadeInNone = new NoneParamater(); FadeIn = new FadeInParamater(); FadeOutType = new Value.Enum<FadeType>(); FadeOutNone = new NoneParamater(); FadeOut = new FadeOutParamater(); UV = new Value.Enum<UVType>(); UVDefault = new UVDefaultParamater(); UVFixed = new UVFixedParamater(); UVAnimation = new UVAnimationParamater(); UVScroll = new UVScrollParamater(); ZWrite = new Value.Boolean(false); ZTest = new Value.Boolean(true); Distortion = new Value.Boolean(false); DistortionIntensity = new Value.Float(1.0f, float.MaxValue, float.MinValue, 0.1f); }
internal Vector2D( float x = 0, float y = 0, float x_max = float.MaxValue, float x_min = float.MinValue, float y_max = float.MaxValue, float y_min = float.MinValue, float x_step = 1.0f, float y_step = 1.0f) { X = new Float(x, x_max, x_min, x_step); Y = new Float(y, y_max, y_min, y_step); }
internal Vector3D( float x = 0, float y = 0, float z = 0, float x_max = float.MaxValue, float x_min = float.MinValue, float y_max = float.MaxValue, float y_min = float.MinValue, float z_max = float.MaxValue, float z_min = float.MinValue, float x_step = 1.0f, float y_step = 1.0f, float z_step = 1.0f) { X = new Float(x, x_max, x_min, x_step); Y = new Float(y, y_max, y_min, y_step); Z = new Float(z, z_max, z_min, z_step); }
public EffectBehaviorValues() { Location = new Value.Vector3D(); Rotation = new Value.Vector3D(); Scale = new Value.Vector3D(1.0f, 1.0f, 1.0f); LocationVelocity = new Value.Vector3D(); RotationVelocity = new Value.Vector3D(); ScaleVelocity = new Value.Vector3D(); RemovedTime = new Value.IntWithInifinite(0, true, int.MaxValue, 0); CountX = new Value.Int(1, int.MaxValue, 1); CountY = new Value.Int(1, int.MaxValue, 1); CountZ = new Value.Int(1, int.MaxValue, 1); Distance = new Value.Float(5.0f, float.MaxValue, 0.0f); TargetLocation = new Value.Vector3D(); }
internal Vector3D( float x = 0, float y = 0, float z = 0, float x_max = float.MaxValue, float x_min = float.MinValue, float y_max = float.MaxValue, float y_min = float.MinValue, float z_max = float.MaxValue, float z_min = float.MinValue, float x_step = 1.0f, float y_step = 1.0f, float z_step = 1.0f) { X = new Float(x, x_max, x_min, x_step); Y = new Float(y, y_max, y_min, y_step); Z = new Float(z, z_max, z_min, z_step); IsDynamicEquationEnabled = new Boolean(); DynamicEquation = new DynamicEquationReference(); }
public RingParamater() { RenderingOrder = new Value.Enum<Data.RenderingOrder>(Data.RenderingOrder.FirstCreatedInstanceIsFirst); Billboard = new Value.Enum<BillboardType>(BillboardType.Fixed); AlphaBlend = new Value.Enum<AlphaBlendType>(AlphaBlendType.Blend); VertexCount = new Value.Int(16, 256, 3); ViewingAngle = new Value.Enum<ViewingAngleType>(ViewingAngleType.Fixed); ViewingAngle_Fixed = new Value.Float(360.0f, 360.0f, 0.0f); ViewingAngle_Random = new Value.FloatWithRandom(360.0f, 360.0f, 0.0f); ViewingAngle_Easing = new FloatEasingParamater(360.0f, 360.0f, 0.0f); Outer = new Value.Enum<LocationType>(LocationType.Fixed); Outer_Fixed = new FixedLocation(2.0f, 0.0f); Outer_PVA = new PVALocation(2.0f, 0.0f); Outer_Easing = new Vector2DEasingParamater(); Inner = new Value.Enum<LocationType>(LocationType.Fixed); Inner_Fixed = new FixedLocation(1.0f, 0.0f); Inner_PVA = new PVALocation(1.0f, 0.0f); Inner_Easing = new Vector2DEasingParamater(); CenterRatio = new Value.Enum<CenterRatioType>(CenterRatioType.Fixed); CenterRatio_Fixed = new Value.Float(0.5f, 1.0f, 0.0f); CenterRatio_Random = new Value.FloatWithRandom(0.5f, 1.0f, 0.0f); CenterRatio_Easing = new FloatEasingParamater(0.5f, 1.0f, 0.0f); OuterColor = new Value.Enum<ColorType>(ColorType.Fixed); OuterColor_Fixed = new Value.Color(255, 255, 255, 0); OuterColor_Random = new Value.ColorWithRandom(255, 255, 255, 0); OuterColor_Easing = new ColorEasingParamater(); CenterColor = new Value.Enum<ColorType>(ColorType.Fixed); CenterColor_Fixed = new Value.Color(255, 255, 255, 255); CenterColor_Random = new Value.ColorWithRandom(255, 255, 255, 255); CenterColor_Easing = new ColorEasingParamater(); InnerColor = new Value.Enum<ColorType>(ColorType.Fixed); InnerColor_Fixed = new Value.Color(255, 255, 255, 0); InnerColor_Random = new Value.ColorWithRandom(255, 255, 255, 0); InnerColor_Easing = new ColorEasingParamater(); if (Core.Language == Language.Japanese) { ColorTexture = new Value.Path("画像ファイル (*.png)|*.png", true, ""); } else if (Core.Language == Language.English) { ColorTexture = new Value.Path("Image File (*.png)|*.png", true, ""); } }
public RibbonParamater() { AlphaBlend = new Value.Enum<AlphaBlendType>(AlphaBlendType.Blend); ViewpointDependent = new Value.Boolean(false); ColorAll = new Value.Enum<ColorAllType>(ColorAllType.Fixed); ColorAll_Fixed = new Value.Color(255, 255, 255, 255); ColorAll_Random = new Value.ColorWithRandom(255, 255, 255, 255); ColorAll_Easing = new ColorEasingParamater(); Color = new Value.Enum<ColorType>(ColorType.Default); Color_Fixed_L = new Value.Color(255, 255, 255, 255); Color_Fixed_R = new Value.Color(255, 255, 255, 255); Position = new Value.Enum<PositionType>(PositionType.Default); Position_Fixed_L = new Value.Float(-0.5f); Position_Fixed_R = new Value.Float(0.5f); if(Core.Language == Language.Japanese) { ColorTexture = new Value.Path("画像ファイル (*.png)|*.png", true, ""); } else if(Core.Language == Language.English) { ColorTexture = new Value.Path("Image File (*.png)|*.png", true, ""); } }
public void ApplyMaterial(Utl.MaterialInformation info) { bool isChanged = false; var previous_selfSummary = selfSummary; var previous_selfDetail = selfDetail; if (info.Names.ContainsKey(Core.Language)) { selfSummary = info.Names[Core.Language]; } else { selfSummary = ""; } if (info.Descriptions.ContainsKey(Core.Language)) { selfDetail = info.Descriptions[Core.Language]; } else { selfDetail = ""; } if (previous_selfSummary != selfSummary) { isChanged = true; } if (previous_selfDetail != selfDetail) { isChanged = true; } HashSet <ValueStatus> usedValueStatuses = new HashSet <ValueStatus>(); HashSet <object> finished = new HashSet <object>(); foreach (var withNameFlag in new[] { false, true }) { foreach (var texture in info.Textures) { if (finished.Contains(texture)) { continue; } var key = StatusKey.From(texture); Func <string> getName = () => { var ret = ""; if (texture.Summaries.ContainsKey(Core.Language)) { ret = texture.Summaries[Core.Language]; } if (string.IsNullOrEmpty(ret)) { ret = texture.Name; } if (string.IsNullOrEmpty(ret)) { ret = texture.UniformName; } return(ret); }; Func <string> getDesc = () => { var ret = ""; if (texture.Descriptions.ContainsKey(Core.Language)) { ret = texture.Descriptions[Core.Language]; } return(ret); }; ValueStatus status = null; string defaultPath = Utils.Misc.GetAbsolutePath(Path.AbsolutePath, texture.DefaultPath); var foundValue = FindValue(key.ToString(), usedValueStatuses, withNameFlag); if (foundValue != null) { status = foundValue; if (status.IsShown != texture.IsParam) { status.IsShown = texture.IsParam; isChanged = true; } // update default path if (texture.IsParam) { if ((foundValue.Value as Value.PathForImage).AbsolutePath == string.Empty) { (foundValue.Value as Value.PathForImage).SetAbsolutePathDirectly(defaultPath); isChanged = true; } (foundValue.Value as Value.PathForImage).SetDefaultAbsolutePath(defaultPath); } else { if ((foundValue.Value as Value.PathForImage).AbsolutePath != defaultPath) { (foundValue.Value as Value.PathForImage).SetAbsolutePathDirectly(defaultPath); isChanged = true; } (foundValue.Value as Value.PathForImage).SetDefaultAbsolutePath(defaultPath); } } else { // create only when value is not found even if withName flag is true if (!withNameFlag) { continue; } status = new ValueStatus(); var value = new Value.PathForImage(rcValues.BasePath, Resources.GetString("ImageFilter"), true, defaultPath); status.Value = value; status.IsShown = texture.IsParam; status.Priority = texture.Priority; valueStatuses.Add(status); if (!string.IsNullOrEmpty(defaultPath)) { value.SetAbsolutePathDirectly(defaultPath); } isChanged = true; } if (status.Name != getName()) { isChanged = true; } if (status.Description != getDesc()) { isChanged = true; } status.Key = key; status.Name = getName(); status.Description = getDesc(); usedValueStatuses.Add(status); finished.Add(texture); } foreach (var uniform in info.Uniforms) { if (finished.Contains(uniform)) { continue; } var key = StatusKey.From(uniform); Func <string> getName = () => { var ret = ""; if (uniform.Summaries.ContainsKey(Core.Language)) { ret = uniform.Summaries[Core.Language]; } if (string.IsNullOrEmpty(ret)) { ret = uniform.Name; } if (string.IsNullOrEmpty(ret)) { ret = uniform.UniformName; } return(ret); }; Func <string> getDesc = () => { var ret = ""; if (uniform.Descriptions.ContainsKey(Core.Language)) { ret = uniform.Descriptions[Core.Language]; } return(ret); }; ValueStatus status = null; var foundValue = FindValue(key.ToString(), usedValueStatuses, withNameFlag); if (foundValue != null) { status = foundValue; status.IsShown = true; isChanged = true; if (uniform.Type == 0) { (status.Value as Value.Float).ChangeDefaultValue(uniform.DefaultValues[0]); } else if (uniform.Type == 1) { (status.Value as Value.Vector2D).ChangeDefaultValue(uniform.DefaultValues[0], uniform.DefaultValues[1]); } else if (uniform.Type == 2) { (status.Value as Value.Vector3D).ChangeDefaultValue(uniform.DefaultValues[0], uniform.DefaultValues[1], uniform.DefaultValues[2]); } else { (status.Value as Value.Vector4D).ChangeDefaultValue(uniform.DefaultValues[0], uniform.DefaultValues[1], uniform.DefaultValues[2], uniform.DefaultValues[3]); } } else { // create only when value is not found even if withName flag is true if (!withNameFlag) { continue; } if (uniform.Type == 0) { status = new ValueStatus(); var value = new Value.Float(uniform.DefaultValues[0]); value.SetValueDirectly(uniform.DefaultValues[0]); status.Value = value; status.IsShown = true; status.Priority = uniform.Priority; valueStatuses.Add(status); isChanged = true; } else if (uniform.Type == 1) { status = new ValueStatus(); var value = new Value.Vector2D(uniform.DefaultValues[0], uniform.DefaultValues[1]); value.X.SetValueDirectly(uniform.DefaultValues[0]); value.Y.SetValueDirectly(uniform.DefaultValues[1]); status.Value = value; status.IsShown = true; status.Priority = uniform.Priority; valueStatuses.Add(status); isChanged = true; } else if (uniform.Type == 2) { status = new ValueStatus(); var value = new Value.Vector3D(uniform.DefaultValues[0], uniform.DefaultValues[1], uniform.DefaultValues[2]); value.X.SetValueDirectly(uniform.DefaultValues[0]); value.Y.SetValueDirectly(uniform.DefaultValues[1]); value.Z.SetValueDirectly(uniform.DefaultValues[2]); status.Value = value; status.IsShown = true; status.Priority = uniform.Priority; valueStatuses.Add(status); isChanged = true; } else { status = new ValueStatus(); var value = new Value.Vector4D(uniform.DefaultValues[0], uniform.DefaultValues[1], uniform.DefaultValues[2], uniform.DefaultValues[3]); value.X.SetValueDirectly(uniform.DefaultValues[0]); value.Y.SetValueDirectly(uniform.DefaultValues[1]); value.Z.SetValueDirectly(uniform.DefaultValues[2]); value.W.SetValueDirectly(uniform.DefaultValues[3]); status.Value = value; status.IsShown = true; status.Priority = uniform.Priority; valueStatuses.Add(status); isChanged = true; } } if (status.Name != getName()) { isChanged = true; } if (status.Description != getDesc()) { isChanged = true; } status.Key = key; status.Name = getName(); status.Description = getDesc(); usedValueStatuses.Add(status); finished.Add(uniform); } } foreach (var kts in valueStatuses) { if (!usedValueStatuses.Contains(kts)) { var status = kts; if (status.IsShown) { status.IsShown = false; isChanged = true; } } } if (info.CustomData.Count() > 0) { rcValues.CustomData1.Fixed4.ChangeDefaultValue( info.CustomData[0].DefaultValues[0], info.CustomData[0].DefaultValues[1], info.CustomData[0].DefaultValues[2], info.CustomData[0].DefaultValues[3]); } if (info.CustomData.Count() > 1) { rcValues.CustomData2.Fixed4.ChangeDefaultValue( info.CustomData[1].DefaultValues[0], info.CustomData[1].DefaultValues[1], info.CustomData[1].DefaultValues[2], info.CustomData[1].DefaultValues[3]); } if (isChanged && OnChanged != null) { OnChanged(this, null); } }
public FadeOutParamater() { Frame = new Value.Float(1, float.MaxValue, 0); StartSpeed = new Value.Enum <EasingStart>(EasingStart.Start); EndSpeed = new Value.Enum <EasingEnd>(EasingEnd.End); }
public RingParamater() { RenderingOrder = new Value.Enum<Data.RenderingOrder>(Data.RenderingOrder.FirstCreatedInstanceIsFirst); Billboard = new Value.Enum<BillboardType>(BillboardType.Fixed); AlphaBlend = new Value.Enum<AlphaBlendType>(AlphaBlendType.Blend); VertexCount = new Value.Int(16, 256, 3); ViewingAngle = new Value.Enum<ViewingAngleType>(ViewingAngleType.Fixed); ViewingAngle_Fixed = new Value.Float(360.0f, 360.0f, 0.0f); ViewingAngle_Random = new Value.FloatWithRandom(360.0f, 360.0f, 0.0f); ViewingAngle_Easing = new FloatEasingParamater(360.0f, 360.0f, 0.0f); Outer = new Value.Enum<LocationType>(LocationType.Fixed); Outer_Fixed = new FixedLocation(2.0f, 0.0f); Outer_PVA = new PVALocation(2.0f, 0.0f); Outer_Easing = new Vector2DEasingParamater(); Inner = new Value.Enum<LocationType>(LocationType.Fixed); Inner_Fixed = new FixedLocation(1.0f, 0.0f); Inner_PVA = new PVALocation(1.0f, 0.0f); Inner_Easing = new Vector2DEasingParamater(); CenterRatio = new Value.Enum<CenterRatioType>(CenterRatioType.Fixed); CenterRatio_Fixed = new Value.Float(0.5f, 1.0f, 0.0f); CenterRatio_Random = new Value.FloatWithRandom(0.5f, 1.0f, 0.0f); CenterRatio_Easing = new FloatEasingParamater(0.5f, 1.0f, 0.0f); OuterColor = new Value.Enum<ColorType>(ColorType.Fixed); OuterColor_Fixed = new Value.Color(255, 255, 255, 0); OuterColor_Random = new Value.ColorWithRandom(255, 255, 255, 0); OuterColor_Easing = new ColorEasingParamater(); CenterColor = new Value.Enum<ColorType>(ColorType.Fixed); CenterColor_Fixed = new Value.Color(255, 255, 255, 255); CenterColor_Random = new Value.ColorWithRandom(255, 255, 255, 255); CenterColor_Easing = new ColorEasingParamater(); InnerColor = new Value.Enum<ColorType>(ColorType.Fixed); InnerColor_Fixed = new Value.Color(255, 255, 255, 0); InnerColor_Random = new Value.ColorWithRandom(255, 255, 255, 0); InnerColor_Easing = new ColorEasingParamater(); ColorTexture = new Value.Path(Properties.Resources.ImageFilter, true, ""); }
public SphereParamater() { Radius = new Value.Float(1); Location = new Value.Vector3D(); }
public FadeOutParamater() { Frame = new Value.Float(1, float.MaxValue, 0); StartSpeed = new Value.Enum<EasingStart>(EasingStart.Start); EndSpeed = new Value.Enum<EasingEnd>(EasingEnd.End); }
public EdgeParameter() { EdgeThreshold = new Value.Float(0.0f, 1.0f, 0.0f, 0.01f); EdgeColor = new Value.Color(255, 255, 255, 255); EdgeColorScaling = new Value.Float(1, int.MaxValue, 0); }
internal FixedParameter() { Threshold = new Value.Float(0.0f, 1.0f, 0.0f, 0.05f); }
internal SoundParamater() { Wave = new Value.PathForSound("音声ファイル (*.wav)|*.wav", true, ""); Volume = new Value.FloatWithRandom(1.0f, 1.0f, 0.0f); Pitch = new Value.FloatWithRandom(0.0f, 2.0f, -2.0f); PanType = new Value.Enum<ParamaterPanType>(ParamaterPanType.Sound2D); Pan = new Value.FloatWithRandom(0.0f, 1.0f, -1.0f); Distance = new Value.Float(10.0f); Delay = new Value.IntWithRandom(0, int.MaxValue, 0); }
internal ForceFieldAttractiveForce() { Control = new Value.Float(1.0f, float.MaxValue, float.MinValue, 0.1f); MinRange = new Value.Float(0.0f, 1000.0f, 0.0f, 1.0f); MaxRange = new Value.Float(0.0f, 1000.0f, 0.0f, 1.0f); }
public LocalForceFieldTurbulence() { Seed = new Value.Int(1, int.MaxValue, 0, 1); FieldScale = new Value.Float(4.0f, float.MaxValue, 0, 0.1f); Octave = new Value.Int(1, 10, 1, 1); }
public TrackParameter() { TrackSizeFor = new Value.Enum<TrackSizeType>(TrackSizeType.Fixed); TrackSizeFor_Fixed = new Value.Float(1, float.MaxValue, 0); TrackSizeMiddle = new Value.Enum<TrackSizeType>(TrackSizeType.Fixed); TrackSizeMiddle_Fixed = new Value.Float(1, float.MaxValue, 0); TrackSizeBack = new Value.Enum<TrackSizeType>(TrackSizeType.Fixed); TrackSizeBack_Fixed = new Value.Float(1, float.MaxValue, 0); ColorLeft = new Value.Enum<StandardColorType>(StandardColorType.Fixed); ColorLeft_Fixed = new Value.Color(255, 255, 255, 255); ColorLeft_Random = new Value.ColorWithRandom(255, 255, 255, 255); ColorLeft_Easing = new ColorEasingParamater(); ColorLeft_FCurve = new ColorFCurveParameter(); ColorLeftMiddle = new Value.Enum<StandardColorType>(StandardColorType.Fixed); ColorLeftMiddle_Fixed = new Value.Color(255, 255, 255, 255); ColorLeftMiddle_Random = new Value.ColorWithRandom(255, 255, 255, 255); ColorLeftMiddle_Easing = new ColorEasingParamater(); ColorLeftMiddle_FCurve = new ColorFCurveParameter(); ColorCenter = new Value.Enum<StandardColorType>(StandardColorType.Fixed); ColorCenter_Fixed = new Value.Color(255, 255, 255, 255); ColorCenter_Random = new Value.ColorWithRandom(255, 255, 255, 255); ColorCenter_Easing = new ColorEasingParamater(); ColorCenter_FCurve = new ColorFCurveParameter(); ColorCenterMiddle = new Value.Enum<StandardColorType>(StandardColorType.Fixed); ColorCenterMiddle_Fixed = new Value.Color(255, 255, 255, 255); ColorCenterMiddle_Random = new Value.ColorWithRandom(255, 255, 255, 255); ColorCenterMiddle_Easing = new ColorEasingParamater(); ColorCenterMiddle_FCurve = new ColorFCurveParameter(); ColorRight = new Value.Enum<StandardColorType>(StandardColorType.Fixed); ColorRight_Fixed = new Value.Color(255, 255, 255, 255); ColorRight_Random = new Value.ColorWithRandom(255, 255, 255, 255); ColorRight_Easing = new ColorEasingParamater(); ColorRight_FCurve = new ColorFCurveParameter(); ColorRightMiddle = new Value.Enum<StandardColorType>(StandardColorType.Fixed); ColorRightMiddle_Fixed = new Value.Color(255, 255, 255, 255); ColorRightMiddle_Random = new Value.ColorWithRandom(255, 255, 255, 255); ColorRightMiddle_Easing = new ColorEasingParamater(); ColorRightMiddle_FCurve = new ColorFCurveParameter(); }
internal SoundParamater() { Wave = new Value.PathForSound(Properties.Resources.SoundFilter, true, ""); Volume = new Value.FloatWithRandom(1.0f, 1.0f, 0.0f, DrawnAs.CenterAndAmplitude, 0.1f); Pitch = new Value.FloatWithRandom(0.0f, 2.0f, -2.0f, DrawnAs.CenterAndAmplitude, 0.1f); PanType = new Value.Enum<ParamaterPanType>(ParamaterPanType.Sound2D); Pan = new Value.FloatWithRandom(0.0f, 1.0f, -1.0f, DrawnAs.CenterAndAmplitude, 0.1f); Distance = new Value.Float(10.0f); Delay = new Value.IntWithRandom(0, int.MaxValue, 0); }
internal BloomParamater() { Intensity = new Value.Float(1.0f, 100.0f, 0.0f, 0.1f); Threshold = new Value.Float(1.0f, 100.0f, 0.0f, 0.1f); SoftKnee = new Value.Float(0.5f, 1.0f, 0.0f, 0.1f); }
public RibbonParamater() { AlphaBlend = new Value.Enum<AlphaBlendType>(AlphaBlendType.Blend); ViewpointDependent = new Value.Boolean(false); ColorAll = new Value.Enum<ColorAllType>(ColorAllType.Fixed); ColorAll_Fixed = new Value.Color(255, 255, 255, 255); ColorAll_Random = new Value.ColorWithRandom(255, 255, 255, 255); ColorAll_Easing = new ColorEasingParamater(); Color = new Value.Enum<ColorType>(ColorType.Default); Color_Fixed_L = new Value.Color(255, 255, 255, 255); Color_Fixed_R = new Value.Color(255, 255, 255, 255); Position = new Value.Enum<PositionType>(PositionType.Default); Position_Fixed_L = new Value.Float(-0.5f); Position_Fixed_R = new Value.Float(0.5f); ColorTexture = new Value.Path(Properties.Resources.ImageFilter, true, ""); }
internal TonemapReinhardParameter() { Exposure = new Value.Float(1.0f, 100.0f, 0.0f, 0.1f); }
internal SoundParamater() { if(Core.Language == Language.Japanese) { Wave = new Value.PathForSound("音声ファイル (*.wav)|*.wav", true, ""); } else if(Core.Language == Language.English) { Wave = new Value.PathForSound("Sound File (*.wav)|*.wav", true, ""); } Volume = new Value.FloatWithRandom(1.0f, 1.0f, 0.0f); Pitch = new Value.FloatWithRandom(0.0f, 2.0f, -2.0f); PanType = new Value.Enum<ParamaterPanType>(ParamaterPanType.Sound2D); Pan = new Value.FloatWithRandom(0.0f, 1.0f, -1.0f); Distance = new Value.Float(10.0f); Delay = new Value.IntWithRandom(0, int.MaxValue, 0); }
public DynamicInput() { Input = new Value.Float(); }