示例#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);
示例#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)
 {
 }
示例#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);
示例#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);
        }