예제 #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);
        }
예제 #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);
        }
예제 #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);