Ejemplo n.º 1
0
        /// <summary>
        /// Removes the given camera modifier from this camera (if it's on the camera in the first place) and discards it.
        /// @return True if successfully removed, false otherwise.
        /// </summary>
        public bool RemoveCameraModifier(UCameraModifier ModifierToRemove)
        {
            CheckIsValid();
            int ___ret = RemoveCameraModifier(_this.Get(), ModifierToRemove);

            return(___ret != 0);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Creates and initializes a new camera modifier of the specified class.
        /// @param ModifierClass - The class of camera modifier to create.
        /// @return Returns the newly created camera modifier.
        /// </summary>
        public UCameraModifier AddNewCameraModifier(TSubclassOf <UCameraModifier> ModifierClass)
        {
            CheckIsValid();
            IntPtr ___ret = AddNewCameraModifier(_this.Get(), ModifierClass.NativeClass);

            if (___ret == IntPtr.Zero)
            {
                return(null);
            }
            UCameraModifier ___ret2 = new UCameraModifier()
            {
                _this = ___ret
            }; return(___ret2);
        }
Ejemplo n.º 3
0
 /// <summary>
 /// Removes the given camera modifier from this camera (if it's on the camera in the first place) and discards it.
 /// @return True if successfully removed, false otherwise.
 /// </summary>
 public extern virtual bool RemoveCameraModifier(UCameraModifier ModifierToRemove);