public void SetSources(List <ConstraintSource> sources) { if (sources == null) { throw new ArgumentNullException("sources"); } AimConstraint.SetSourcesInternal(this, sources); }
static public int set_upVector(IntPtr l) { try { UnityEngine.Animations.AimConstraint self = (UnityEngine.Animations.AimConstraint)checkSelf(l); UnityEngine.Vector3 v; checkType(l, 2, out v); self.upVector = v; pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int set_rotationAxis(IntPtr l) { try { UnityEngine.Animations.AimConstraint self = (UnityEngine.Animations.AimConstraint)checkSelf(l); UnityEngine.Animations.Axis v; checkEnum(l, 2, out v); self.rotationAxis = v; pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int SetSources(IntPtr l) { try { UnityEngine.Animations.AimConstraint self = (UnityEngine.Animations.AimConstraint)checkSelf(l); System.Collections.Generic.List <UnityEngine.Animations.ConstraintSource> a1; checkType(l, 2, out a1); self.SetSources(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int set_constraintActive(IntPtr l) { try { UnityEngine.Animations.AimConstraint self = (UnityEngine.Animations.AimConstraint)checkSelf(l); bool v; checkType(l, 2, out v); self.constraintActive = v; pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int GetSource(IntPtr l) { try { UnityEngine.Animations.AimConstraint self = (UnityEngine.Animations.AimConstraint)checkSelf(l); System.Int32 a1; checkType(l, 2, out a1); var ret = self.GetSource(a1); pushValue(l, true); pushValue(l, ret); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int SetSource(IntPtr l) { try { UnityEngine.Animations.AimConstraint self = (UnityEngine.Animations.AimConstraint)checkSelf(l); System.Int32 a1; checkType(l, 2, out a1); UnityEngine.Animations.ConstraintSource a2; checkValueType(l, 3, out a2); self.SetSource(a1, a2); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
private static extern void SetSourcesInternal([NotNull] AimConstraint self, List <ConstraintSource> sources);
private static extern int GetSourceCountInternal([NotNull] AimConstraint self);
private static extern void Internal_Create([Writable] AimConstraint self);
private static extern void SetSourcesInternal([NotNull("ArgumentNullException")] AimConstraint self, List <ConstraintSource> sources);
private static extern int GetSourceCountInternal([NotNull("ArgumentNullException")] AimConstraint self);
private AimConstraint() { AimConstraint.Internal_Create(this); }