public TextureFrameControllerValue(TextureUnitState t) : this(OgrePINVOKE.new_TextureFrameControllerValue(TextureUnitState.getCPtr(t)), true)
 {
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public static ControllerValueRealPtr create(TextureUnitState t)
        {
            ControllerValueRealPtr ret = new ControllerValueRealPtr(OgrePINVOKE.TextureFrameControllerValue_create(TextureUnitState.getCPtr(t)), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 3
0
 public virtual void textureUnitStateEventRaised(MaterialSerializer ser, MaterialSerializer.SerializeEvent arg1, SWIGTYPE_p_bool skip, TextureUnitState textureUnit)
 {
     if (SwigDerivedClassHasMethod("textureUnitStateEventRaised", swigMethodTypes3))
     {
         OgrePINVOKE.MaterialSerializer_Listener_textureUnitStateEventRaisedSwigExplicitListener(swigCPtr, MaterialSerializer.getCPtr(ser), (int)arg1, SWIGTYPE_p_bool.getCPtr(skip), TextureUnitState.getCPtr(textureUnit));
     }
     else
     {
         OgrePINVOKE.MaterialSerializer_Listener_textureUnitStateEventRaised(swigCPtr, MaterialSerializer.getCPtr(ser), (int)arg1, SWIGTYPE_p_bool.getCPtr(skip), TextureUnitState.getCPtr(textureUnit));
     }
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public override void writeInstance(MaterialSerializer ser, SubRenderState subRenderState, TextureUnitState srcTextureUnit, TextureUnitState dstTextureUnit)
 {
     RTShaderPINVOKE.LayeredBlendingFactory_writeInstance(swigCPtr, MaterialSerializer.getCPtr(ser), SubRenderState.getCPtr(subRenderState), TextureUnitState.getCPtr(srcTextureUnit), TextureUnitState.getCPtr(dstTextureUnit));
     if (RTShaderPINVOKE.SWIGPendingException.Pending)
     {
         throw RTShaderPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public SubRenderState createInstance(ScriptCompiler compiler, PropertyAbstractNode prop, TextureUnitState texState, SGScriptTranslator translator)
        {
            global::System.IntPtr cPtr = RTShaderPINVOKE.LayeredBlendingFactory_createInstance(swigCPtr, ScriptCompiler.getCPtr(compiler), PropertyAbstractNode.getCPtr(prop), TextureUnitState.getCPtr(texState), SGScriptTranslator.getCPtr(translator));
            SubRenderState        ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SubRenderState(cPtr, false);

            if (RTShaderPINVOKE.SWIGPendingException.Pending)
            {
                throw RTShaderPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 6
0
        public ControllerReal createTextureWaveTransformer(TextureUnitState layer, TextureUnitState.TextureTransformType ttype, WaveformType waveType)
        {
            global::System.IntPtr cPtr = OgrePINVOKE.ControllerManager_createTextureWaveTransformer__SWIG_4(swigCPtr, TextureUnitState.getCPtr(layer), (int)ttype, (int)waveType);
            ControllerReal        ret  = (cPtr == global::System.IntPtr.Zero) ? null : new ControllerReal(cPtr, false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 7
0
        public ControllerReal createTextureRotater(TextureUnitState layer, float speed)
        {
            global::System.IntPtr cPtr = OgrePINVOKE.ControllerManager_createTextureRotater(swigCPtr, TextureUnitState.getCPtr(layer), speed);
            ControllerReal        ret  = (cPtr == global::System.IntPtr.Zero) ? null : new ControllerReal(cPtr, false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }