public void Pitch(Mogre.Radian value) { if (this.handle != null) { this.handle.Pitch(value); Orientation = this.handle.Orientation; } }
/** Returns a rotation set in the affector, depending on the type of dynamic attribute. */ public Mogre.Radian _calculateRotation() { Mogre.Radian rad = new Mogre.Radian(); IntPtr calcdRad = TextureRotator__calculateRotation(nativePtr); Marshal.PtrToStructure(calcdRad, rad); return(rad); }
/** Returns a rotation speed value, depending on the type of dynamic attribute. */ public Mogre.Radian _calculateRotationSpeed(Particle particle) { if (particle == null) { throw new ArgumentNullException("particle cannot be null!"); } Mogre.Radian rad = new Mogre.Radian(); Marshal.PtrToStructure(TextureRotator__calculateRotationSpeed(nativePtr, particle.NativePointer), rad); return(rad); }