public BlendAlphaTextureParameter(Value.Path basepath) { Texture = new Value.PathForImage(basepath, Resources.GetString("ImageFilter"), true, ""); 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 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(); }