Пример #1
0
 public UVDistortionTextureParameter(Value.Path basepath)
 {
     Texture = new Value.PathForImage(basepath, Resources.GetString("ImageFilter"), true, "");
     UVDistortionIntensity = new Value.Float(0.01f, 100.0f, -100.0f, 0.01f);
     Filter      = new Value.Enum <RendererCommonValues.FilterType>(RendererCommonValues.FilterType.Linear);
     Wrap        = new Value.Enum <RendererCommonValues.WrapType>(RendererCommonValues.WrapType.Repeat);
     UV          = new Value.Enum <RendererCommonValues.UVType>();
     UVDefault   = new RendererCommonValues.UVDefaultParamater();
     UVFixed     = new RendererCommonValues.UVFixedParamater();
     UVAnimation = new RendererCommonValues.UVAnimationParamater();
     UVScroll    = new RendererCommonValues.UVScrollParamater();
     UVFCurve    = new RendererCommonValues.UVFCurveParamater();
 }
 public BlendTextureParameter(Value.Path basepath)
 {
     Texture     = new Value.PathForImage(basepath, Resources.GetString("ImageFilter"), true, "");
     BlendType   = new Value.Enum <AdvancedAlphaBlendType>(AdvancedAlphaBlendType.Blend);
     Filter      = new Value.Enum <RendererCommonValues.FilterType>(RendererCommonValues.FilterType.Linear);
     Wrap        = new Value.Enum <RendererCommonValues.WrapType>(RendererCommonValues.WrapType.Repeat);
     UV          = new Value.Enum <RendererCommonValues.UVType>();
     UVDefault   = new RendererCommonValues.UVDefaultParamater();
     UVFixed     = new RendererCommonValues.UVFixedParamater();
     UVAnimation = new RendererCommonValues.UVAnimationParamater();
     UVScroll    = new RendererCommonValues.UVScrollParamater();
     UVFCurve    = new RendererCommonValues.UVFCurveParamater();
 }