Esempio n. 1
0
            internal static unsafe void Invoke(IntPtr obj, EPlaneConstraintAxisSetting NewAxisSetting)
            {
                long *p = stackalloc long[] { 0L, 0L };
                byte *b = (byte *)p;

                *(b + 0) = (byte)NewAxisSetting;
                Main.GetProcessEvent(obj, SetPlaneConstraintAxisSetting_ptr, new IntPtr(p));;
            }
        }
 /// <summary>
 /// <para>Set the plane constraint axis setting. </para>
 /// <para>Changing this setting will modify the current value of PlaneConstraintNormal. </para>
 /// <param name="NewAxisSetting">New plane constraint axis setting. </param>
 /// </summary>
 public virtual void SetPlaneConstraintAxisSetting(EPlaneConstraintAxisSetting newAxisSetting)
 => E_UMovementComponent_SetPlaneConstraintAxisSetting(this, (byte)newAxisSetting);
 /// <summary>
 /// <para>Helper to compute the plane constraint axis from the current setting. </para>
 /// <param name="AxisSetting">Setting to use when computing the axis. </param>
 /// <return>Plane constraint axis/normal. </return>
 /// </summary>
 protected FVector GetPlaneConstraintNormalFromAxisSetting(EPlaneConstraintAxisSetting axisSetting)
 => E_UMovementComponent_GetPlaneConstraintNormalFromAxisSetting(this, (byte)axisSetting);
Esempio n. 4
0
 /// <summary>
 /// <para>Set the plane constraint axis setting. </para>
 /// <para>Changing this setting will modify the current value of PlaneConstraintNormal. </para>
 /// <param name="NewAxisSetting">New plane constraint axis setting. </param>
 /// </summary>
 public override void SetPlaneConstraintAxisSetting(EPlaneConstraintAxisSetting newAxisSetting)
 {
 }
Esempio n. 5
0
 ///<summary>Set the plane constraint axis setting.</summary>
 ///<remarks>
 ///Changing this setting will modify the current value of PlaneConstraintNormal.
 ///
 ///@param  NewAxisSetting New plane constraint axis setting.
 ///</remarks>
 public void SetPlaneConstraintAxisSetting(EPlaneConstraintAxisSetting NewAxisSetting) =>
 MovementComponent_methods.SetPlaneConstraintAxisSetting_method.Invoke(ObjPointer, NewAxisSetting);
Esempio n. 6
0
/// <summary>
/// Set the plane constraint axis setting.
/// Changing this setting will modify the current value of PlaneConstraintNormal.
/// @param  NewAxisSetting New plane constraint axis setting.
/// </summary>
        public void SetPlaneConstraintAxisSetting(EPlaneConstraintAxisSetting NewAxisSetting)
        {
            CheckIsValid();
            SetPlaneConstraintAxisSetting(_this.Get(), (int)NewAxisSetting);
        }