UnityEngine.Vector3Int.Clamp(UnityEngine.Vector3Int, UnityEngine.Vector3Int)

Here are the examples of the csharp api UnityEngine.Vector3Int.Clamp(UnityEngine.Vector3Int, UnityEngine.Vector3Int) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

19 View Source File : UnityEngine_Vector3Int_Wrap.cs
License : MIT License
Project Creator : focus-creative-games

[Puerts.MonoPInvokeCallback(typeof(Puerts.V8FunctionCallback))]
        private static void M_Clamp(IntPtr isolate, IntPtr info, IntPtr self, int paramLen, long data)
        {
            try
            {
                var obj = (UnityEngine.Vector3Int)Puerts.Utils.GetSelf((int)data, self);
                
                
                {
                    
                    var argHelper0 = new Puerts.ArgumentHelper((int)data, isolate, info, 0);
                    var argHelper1 = new Puerts.ArgumentHelper((int)data, isolate, info, 1);
                    
                    
                    
                    {
                        
                        var Arg0 = argHelper0.Get<UnityEngine.Vector3Int>(false);
                        var Arg1 = argHelper1.Get<UnityEngine.Vector3Int>(false);
                        obj.Clamp(Arg0,Arg1);
                        
                        
                        Puerts.Utils.SetSelf((int)data, self, obj);
                        
                    }
                }
                
                
            }
            catch (Exception e)
            {
                Puerts.PuertsDLL.ThrowException(isolate, "c# exception:" + e.Message + ",stack:" + e.StackTrace);
            }
        }