Falco Engine 3.9.0.1 (beta)
BoxCollider.cs
Go to the documentation of this file.
1using System;
2using System.Runtime.CompilerServices;
3using System.Runtime.InteropServices;
4
5namespace FalcoEngine
6{
7 public class BoxCollider : Collider
8 {
9 internal BoxCollider()
10 {
11
12 }
13
14 /*----------- PUBLIC ------------*/
15
20 {
21 get
22 {
23 INTERNAL_get_size(out Vector3 value);
24 return value;
25 }
26 set
27 {
28 INTERNAL_set_size(ref value);
29 }
30 }
31
32 /*----------- INTERNAL CALLS ------------*/
33
34 [MethodImpl(MethodImplOptions.InternalCall)]
35 private extern void INTERNAL_get_size(out Vector3 value);
36
37 [MethodImpl(MethodImplOptions.InternalCall)]
38 private extern void INTERNAL_set_size(ref Vector3 value);
39 }
40}
Vector3 size
Get or set the size of the box
Definition: BoxCollider.cs:20