コード例 #1
0
 /// <summary>
 /// Add a polyhedron.
 /// </summary>
 public void AddPolyhedron(Polyhedron poly, Urho.Color color, bool depthTest)
 {
     Runtime.ValidateRefCounted(this);
     DebugRenderer_AddPolyhedron(handle, (object)poly == null ? IntPtr.Zero : poly.Handle, ref color, depthTest);
 }
コード例 #2
0
ファイル: Sphere.cs プロジェクト: woychukb/urho
 /// <summary>
 /// Merge a polyhedron.
 /// </summary>
 public void Merge(Polyhedron poly)
 {
     Runtime.ValidateObject(this);
     Sphere_Merge14(handle, (object)poly == null ? IntPtr.Zero : poly.Handle);
 }
コード例 #3
0
 public Polyhedron(Polyhedron polyhedron)
 {
     Runtime.Validate(typeof(Polyhedron));
     handle = Polyhedron_Polyhedron0((object)polyhedron == null ? IntPtr.Zero : polyhedron.Handle);
     OnPolyhedronCreated();
 }
コード例 #4
0
ファイル: Sphere.cs プロジェクト: woychukb/urho
 public Sphere(Polyhedron poly)
 {
     Runtime.Validate(typeof(Sphere));
     handle = Sphere_Sphere5((object)poly == null ? IntPtr.Zero : poly.Handle);
     OnSphereCreated();
 }