System.Runtime.InteropServices.Marshal.SizeOf(Vector2)

Here are the examples of the csharp api System.Runtime.InteropServices.Marshal.SizeOf(Vector2) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

19 Source : Vector2Tests.cs
with MIT License
from vimaec

[Test]
        public void Vector2MarshalSizeTest()
        {
            replacedert.AreEqual(8, Marshal.SizeOf<Vector2>());
            replacedert.AreEqual(8, Marshal.SizeOf<Vector2>(new Vector2()));
        }