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 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); }
/// <summary> /// コンストラクタ /// </summary> internal NodeBase(NodeBase parent) { Parent = parent; Name = new Value.String(); IsRendered = new Value.Boolean(true); Children = new ChildrenCollection(this); }
public OptionValues() { RenderingMode = new Value.Enum <RenderMode>(RenderMode.Normal); 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); Magnification = new Value.Float(1, float.MaxValue, 0.00001f); ExternalMagnification = 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); DistortionType = new Value.Enum <DistortionMethodType>(DistortionMethodType.Current); Font = new Value.Enum <FontType>(FontType.Normal); FontSize = new Value.Int(16, 32, 8); // Switch the language according to the OS settings GuiLanguage = new Value.Enum <Language>(LanguageGetter.GetLanguage()); }
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); }
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, ""); } }
/// <summary> /// コンストラクタ /// </summary> internal NodeBase(NodeBase parent) { Parent = parent; Name = new Value.String(); IsRendered = new Value.Boolean(true); Children = new ChildrenCollection(this); }
internal RendererCommonValues() { Material = new Value.Enum <MaterialType>(MaterialType.Default); MaterialFile = new MaterialFileParameter(); ColorTexture = new Value.PathForImage(Resources.GetString("ImageFilter"), 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(); UVFCurve = new UVFCurveParamater(); ZWrite = new Value.Boolean(false); ZTest = new Value.Boolean(true); ColorInheritType = new Value.Enum <ParentEffectType>(ParentEffectType.NotBind); Distortion = new Value.Boolean(false); DistortionIntensity = new Value.Float(1.0f, float.MaxValue, float.MinValue, 0.1f); }
public OptionValues() { RenderingMode = new Value.Enum <RenderMode>(RenderMode.Normal); ViewerMode = new Value.Enum <ViewMode>(ViewMode._3D); 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); Magnification = new Value.Float(1, float.MaxValue, 0.00001f); ExternalMagnification = 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); DistortionType = new Value.Enum <DistortionMethodType>(DistortionMethodType.Current); Font = new Value.Enum <FontType>(FontType.Normal); FontSize = new Value.Int(16, 32, 8); LanguageSelector = new LanguageSelector(); }
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); }
public DepthValues() { DepthOffset = new Value.Float(); IsScaleChangedDependingOnDepthOffset = new Value.Boolean(); IsDepthOffsetChangedDependingOnParticleScale = new Value.Boolean(); SoftParticle = new Value.Float(0, float.MaxValue, 0.0f); }
public DepthValues() { DepthOffset = new Value.Float(); IsScaleChangedDependingOnDepthOffset = new Value.Boolean(); IsDepthOffsetChangedDependingOnParticleScale = new Value.Boolean(); ZSort = new Value.Enum <ZSortType>(ZSortType.None); DrawingPriority = new Value.Int(0, 255, -255); SoftParticle = new Value.Float(0, float.MaxValue, 0.0f); }
internal GenerationLocationValues() { EffectsRotation = new Value.Boolean(false); Type = new Value.Enum <ParameterType>(); Point = new PointParameter(); Sphere = new SphereParameter(); Model = new ModelParameter(); Circle = new CircleParameter(); }
internal GenerationLocationValues() { EffectsRotation = new Value.Boolean(false); Type = new Value.Enum<ParameterType>(); Point = new PointParameter(); Sphere = new SphereParameter(); Model = new ModelParameter(); Circle = new CircleParameter(); }
public AdvancedRenderCommonValues() { #if __EFFEKSEER_BUILD_VERSION16__ EnableAlphaTexture = new Value.Boolean(false); AlphaTextureParam = new AlphaTextureParameter(); #endif AlphaCutoffParam = new AlphaCutoffParameter(); }
public static XmlElement SaveToElement(XmlDocument doc, string element_name, Value.Boolean value, bool isClip) { if (value.DefaultValue == value.Value) { return(null); } var text = value.GetValue().ToString(); return(doc.CreateTextElement(element_name, text)); }
public BlendTextureParameters(Value.Path basepath) { BlendTextureParam = new BlendTextureParameter(basepath); EnableBlendAlphaTexture = new Value.Boolean(false); BlendAlphaTextureParam = new BlendAlphaTextureParameter(basepath); EnableBlendUVDistortionTexture = new Value.Boolean(false); BlendUVDistortionTextureParam = new BlendUVDistortionTextureParameter(basepath); }
public static void LoadFromElement(XmlElement e, Value.Boolean value, bool isClip) { var text = e.GetText(); var parsed = false; if (bool.TryParse(text, out parsed)) { value.SetValue(parsed); } }
public DepthValues() { DepthOffset = new Value.Float(); IsScaleChangedDependingOnDepthOffset = new Value.Boolean(); IsDepthOffsetChangedDependingOnParticleScale = new Value.Boolean(); ZSort = new Value.Enum <ZSortType>(ZSortType.None); DrawingPriority = new Value.Int(0, 255, -255); DepthClipping = new Value.IntWithInifinite(1024, true, int.MaxValue, 16); SuppressionOfScalingByDepth = new Value.Float(1.0f, 1.0f, 0.0f, 0.1f); }
public AdvancedRenderCommonValues(Value.Path basepath) { EnableAlphaTexture = new Value.Boolean(false); AlphaTextureParam = new AlphaTextureParameter(basepath); EnableUVDistortionTexture = new Value.Boolean(false); UVDistortionTextureParam = new UVDistortionTextureParameter(basepath); AlphaCutoffParam = new AlphaCutoffParameter(); }
internal RendererCommonValues() { Material = new Value.Enum <MaterialType>(MaterialType.Default); MaterialFile = new MaterialFileParameter(this); ColorTexture = new Value.PathForImage(Resources.GetString("ImageFilter"), true, ""); Filter = new Value.Enum <FilterType>(FilterType.Linear); Wrap = new Value.Enum <WrapType>(WrapType.Repeat); NormalTexture = new Value.PathForImage(Resources.GetString("ImageFilter"), true, ""); Filter2 = new Value.Enum <FilterType>(FilterType.Linear); Wrap2 = new Value.Enum <WrapType>(WrapType.Repeat); AlphaBlend = new Value.Enum <AlphaBlendType>(AlphaBlendType.Blend); 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>(); UVTextureReferenceTarget = new Value.Enum <UVTextureReferenceTargetType>(UVTextureReferenceTargetType.Texture1); UVDefault = new UVDefaultParamater(); UVFixed = new UVFixedParamater(); UVAnimation = new UVAnimationParamater(); UVScroll = new UVScrollParamater(); UVFCurve = new UVFCurveParamater(); #if __EFFEKSEER_BUILD_VERSION16__ UV2 = new Value.Enum <UVType>(); UV2Default = new UVDefaultParamater(); UV2Fixed = new UVFixedParamater(); UV2Animation = new UVAnimationParamater(); UV2Scroll = new UVScrollParamater(); UV2FCurve = new UVFCurveParamater(); #endif ZWrite = new Value.Boolean(false); ZTest = new Value.Boolean(true); ColorInheritType = new Value.Enum <ParentEffectType>(ParentEffectType.NotBind); DistortionIntensity = new Value.Float(1.0f, float.MaxValue, float.MinValue, 0.1f); CustomData1 = new CustomDataParameter(1); CustomData2 = new CustomDataParameter(2); }
public ModelParamater() { Model = new Value.Path("モデルファイル (*.efkmodel)|*.efkmodel", true, ""); NormalTexture = new Value.PathForImage("画像ファイル (*.png)|*.png", true, ""); Lighting = new Value.Boolean(true); Culling = new Value.Enum <CullingValues>(Data.CullingValues.Front); Color = new Value.Enum <StandardColorType>(StandardColorType.Fixed); Color_Fixed = new Value.Color(255, 255, 255, 255); Color_Random = new Value.ColorWithRandom(255, 255, 255, 255); Color_Easing = new ColorEasingParamater(); Color_FCurve = new ColorFCurveParameter(); }
internal CommonValues() { MaxGeneration = new Value.IntWithInifinite(1, false, int.MaxValue, 0); LocationEffectType = new Value.Enum<ParentEffectType>(ParentEffectType.Already); RotationEffectType = new Value.Enum<ParentEffectType>(ParentEffectType.Already); ScaleEffectType = new Value.Enum<ParentEffectType>(ParentEffectType.Already); RemoveWhenLifeIsExtinct = new Value.Boolean(true); RemoveWhenParentIsRemoved = new Value.Boolean(false); RemoveWhenAllChildrenAreRemoved = new Value.Boolean(false); Life = new Value.IntWithRandom(100, int.MaxValue, 1); GenerationTime = new Value.FloatWithRandom(1.0f, float.MaxValue, 0.00001f); GenerationTimeOffset = new Value.FloatWithRandom(0.0f, float.MaxValue, 0.0f); }
internal CommonValues() { MaxGeneration = new Value.IntWithInifinite(1, false, int.MaxValue, 0); LocationEffectType = new Value.Enum <ParentEffectType>(ParentEffectType.Already); RotationEffectType = new Value.Enum <ParentEffectType>(ParentEffectType.Already); ScaleEffectType = new Value.Enum <ParentEffectType>(ParentEffectType.Already); RemoveWhenLifeIsExtinct = new Value.Boolean(true); RemoveWhenParentIsRemoved = new Value.Boolean(false); RemoveWhenAllChildrenAreRemoved = new Value.Boolean(false); Life = new Value.IntWithRandom(100, int.MaxValue, 1); GenerationTime = new Value.FloatWithRandom(1.0f, float.MaxValue, 0.00001f); GenerationTimeOffset = new Value.FloatWithRandom(0, float.MaxValue, float.MinValue); }
public RecordingValues() { RecordingWidth = new Value.Int(256); RecordingHeight = new Value.Int(256); IsRecordingGuideShown = new Value.Boolean(false); RecordingStartingFrame = new Value.Int(1); RecordingEndingFrame = new Value.Int(30); RecordingFrequency = new Value.Int(1); RecordingHorizontalCount = new Value.Int(4); RecordingExporter = new Value.Enum <RecordingExporterType>(Data.RecordingExporterType.Sprite); RecordingTransparentMethod = new Value.Enum <RecordingTransparentMethodType>(Data.RecordingTransparentMethodType.None); RecordingStorageTarget = new Value.Enum <RecordingStorageTargetTyoe>(Data.RecordingStorageTargetTyoe.Global); }
public ModelParamater() { Model = new Value.PathForModel(Properties.Resources.ModelFilter, true, ""); NormalTexture = new Value.PathForImage(Properties.Resources.ImageFilter, true, ""); Lighting = new Value.Boolean(true); Culling = new Value.Enum <CullingValues>(Data.CullingValues.Front); Color = new Value.Enum <StandardColorType>(StandardColorType.Fixed); Color_Fixed = new Value.Color(255, 255, 255, 255); Color_Random = new Value.ColorWithRandom(255, 255, 255, 255); Color_Easing = new ColorEasingParamater(); Color_FCurve = new ColorFCurveParameter(); }
internal RendererCommonValues(Value.Path basepath) { BasePath = basepath; Material = new Value.Enum <MaterialType>(MaterialType.Default); MaterialFile = new MaterialFileParameter(this); EmissiveScaling = new Value.Float(1.0f, float.MaxValue, 0.0f); ColorTexture = new Value.PathForImage(basepath, Resources.GetString("ImageFilter"), true, ""); Filter = new Value.Enum <FilterType>(FilterType.Linear); Wrap = new Value.Enum <WrapType>(WrapType.Repeat); NormalTexture = new Value.PathForImage(basepath, Resources.GetString("ImageFilter"), true, ""); Filter2 = new Value.Enum <FilterType>(FilterType.Linear); Wrap2 = new Value.Enum <WrapType>(WrapType.Repeat); AlphaBlend = new Value.Enum <AlphaBlendType>(AlphaBlendType.Blend); 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>(); UVTextureReferenceTarget = new Value.Enum <UVTextureReferenceTargetType>(UVTextureReferenceTargetType.Texture1); UVDefault = new UVDefaultParamater(); UVFixed = new UVFixedParamater(); UVAnimation = new UVAnimationSupportedFrameBlendParameter(); UVScroll = new UVScrollParamater(); UVFCurve = new UVFCurveParamater(); ZWrite = new Value.Boolean(false); ZTest = new Value.Boolean(true); ColorInheritType = new Value.Enum <ParentEffectType>(ParentEffectType.NotBind); DistortionIntensity = new Value.Float(1.0f, float.MaxValue, float.MinValue, 0.1f); CustomData1 = new CustomDataParameter(1); CustomData2 = new CustomDataParameter(2); }
internal FloatEasingParamater(float value = 0.0f, float max = float.MaxValue, float min = float.MinValue) { Type = new Value.Enum <EasingType>(); Start = new Value.FloatWithRandom(value, max, min); End = new Value.FloatWithRandom(value, max, min); StartSpeed = new Value.Enum <EasingStart>(EasingStart.Start); EndSpeed = new Value.Enum <EasingEnd>(EasingEnd.End); IsMiddleEnabled = new Value.Boolean(false); Middle = new Value.FloatWithRandom(value, max, min); IsRandomGroupEnabled = new Value.Boolean(false); RandomGroupA = new Value.Int(0); IsIndividualTypeEnabled = new Value.Boolean(false); Type_A = new Value.Enum <EasingType>(EasingType.Linear); }
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, ""); }
public OptionValues() { RenderingMode = new Value.Enum <RenderMode>(RenderMode.Normal); BackgroundColor = new Value.Color(0, 0, 0, 255); LasyBackgroundImage = new Lazy <Value.PathForImage>(() => { return(new Value.PathForImage(Properties.Resources.ImageFilter, 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); ExternalMagnification = 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); DistortionType = new Value.Enum <DistortionMethodType>(DistortionMethodType.Current); // Switch the language according to the OS settings var culture = System.Globalization.CultureInfo.CurrentCulture; if (culture.Name == "ja-JP") { GuiLanguage = new Value.Enum <Language>(Language.Japanese); } else { GuiLanguage = new Value.Enum <Language>(Language.English); } }
internal CommonValues() { MaxGeneration = new Value.IntWithInifinite(1, false, int.MaxValue, 1); LocationEffectType = new Value.Enum <TranslationParentEffectType>(TranslationParentEffectType.Already); RotationEffectType = new Value.Enum <ParentEffectType>(ParentEffectType.Already); ScaleEffectType = new Value.Enum <ParentEffectType>(ParentEffectType.Already); RemoveWhenLifeIsExtinct = new Value.Boolean(true); RemoveWhenParentIsRemoved = new Value.Boolean(false); RemoveWhenAllChildrenAreRemoved = new Value.Boolean(false); Life = new Value.IntWithRandom(100, int.MaxValue, 1); GenerationTime = new Value.FloatWithRandom(1.0f, float.MaxValue, 0.00001f); GenerationTimeOffset = new Value.FloatWithRandom(0, float.MaxValue, float.MinValue); SteeringBehaviorParam = new SteeringBehaviorParameter(); // dynamic parameter MaxGeneration.CanSelectDynamicEquation = true; Life.CanSelectDynamicEquation = true; GenerationTime.CanSelectDynamicEquation = true; GenerationTimeOffset.CanSelectDynamicEquation = true; }
public RibbonParamater(Path basepath) { 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); SplineDivision = new Value.Int(1, int.MaxValue, 1); ColorTexture = new Value.Path(basepath, Resources.GetString("ImageFilter"), true, ""); }
internal Vector3DEasingParamater(float defaultX = 0.0f, float defaultY = 0.0f, float defaultZ = 0.0f) { Type = new Value.Enum <EasingType>(); Start = new Value.Vector3DWithRandom(defaultX, defaultY, defaultZ); Middle = new Value.Vector3DWithRandom(defaultX, defaultY, defaultZ); End = new Value.Vector3DWithRandom(defaultX, defaultY, defaultZ); StartSpeed = new Value.Enum <EasingStart>(EasingStart.Start); EndSpeed = new Value.Enum <EasingEnd>(EasingEnd.End); IsMiddleEnabled = new Value.Boolean(false); IsRandomGroupEnabled = new Value.Boolean(false); RandomGroupX = new Value.Int(0); RandomGroupY = new Value.Int(1); RandomGroupZ = new Value.Int(2); IsIndividualTypeEnabled = new Value.Boolean(false); TypeX = new Value.Enum <EasingType>(EasingType.Linear); TypeY = new Value.Enum <EasingType>(EasingType.Linear); TypeZ = new Value.Enum <EasingType>(EasingType.Linear); }
public OptionValues() { RenderingMode = new Value.Enum <RenderMode>(RenderMode.Normal); ViewerMode = new Value.Enum <ViewMode>(ViewMode._3D); 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); Magnification = new Value.Float(1, float.MaxValue, 0.00001f); ExternalMagnification = 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); DistortionType = new Value.Enum <DistortionMethodType>(DistortionMethodType.Current); Font = new Value.Enum <FontType>(FontType.Normal); FontSize = new Value.Int(16, 32, 8); MouseMappingType = new Value.Enum <MouseMappingType>(Data.MouseMappingType.Effekseer); LanguageSelector = new LanguageSelector(); FileViewerViewMode = new Value.Enum <FileViewMode>(FileViewMode.IconView); FileViewerIconSize = new Value.Int(96, 512, 48); FloatFormatDigits = new Value.Int(3, 9, 1); AutoSaveIntervalMin = new Value.Int(2, 60, 0); }
public EffectCullingValues() { IsShown = new Value.Boolean(false); Type = new Value.Enum<ParamaterType>(ParamaterType.None); Sphere = new SphereParamater(); }
public ModelParamater() { if (Core.Language == Language.Japanese) { Model = new Value.Path("モデルファイル (*.efkmodel)|*.efkmodel", true, ""); NormalTexture = new Value.PathForImage("画像ファイル (*.png)|*.png", true, ""); } else if (Core.Language == Language.English) { Model = new Value.Path("Model File (*.efkmodel)|*.efkmodel", true, ""); NormalTexture = new Value.PathForImage("Image File (*.png)|*.png", true, ""); } Lighting = new Value.Boolean(true); Culling = new Value.Enum<CullingValues>(Data.CullingValues.Front); Color = new Value.Enum<StandardColorType>(StandardColorType.Fixed); Color_Fixed = new Value.Color(255, 255, 255, 255); Color_Random = new Value.ColorWithRandom(255, 255, 255, 255); Color_Easing = new ColorEasingParamater(); Color_FCurve = new ColorFCurveParameter(); }
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 ModelParamater() { Model = new Value.Path(Properties.Resources.ModelFilter, true, ""); NormalTexture = new Value.PathForImage(Properties.Resources.ImageFilter, true, ""); Lighting = new Value.Boolean(true); Culling = new Value.Enum<CullingValues>(Data.CullingValues.Front); Color = new Value.Enum<StandardColorType>(StandardColorType.Fixed); Color_Fixed = new Value.Color(255, 255, 255, 255); Color_Random = new Value.ColorWithRandom(255, 255, 255, 255); Color_Easing = new ColorEasingParamater(); Color_FCurve = new ColorFCurveParameter(); }
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, ""); }
public EffectCullingValues() { IsShown = new Value.Boolean(false); Type = new Value.Enum <ParamaterType>(ParamaterType.None); Sphere = new SphereParamater(); }