EzySlice.SlicerExtensions.Slice(UnityEngine.GameObject, UnityEngine.Vector3, UnityEngine.Vector3, TextureRegion, UnityEngine.Material)

Here are the examples of the csharp api EzySlice.SlicerExtensions.Slice(UnityEngine.GameObject, UnityEngine.Vector3, UnityEngine.Vector3, TextureRegion, UnityEngine.Material) 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 : SlicerExtensions.cs
License : MIT License
Project Creator : Tobbse

public static SlicedHull Slice(this GameObject obj, Vector3 position, Vector3 direction, Material crossSectionMaterial = null) {
            return Slice(obj, position, direction, new TextureRegion(0.0f, 0.0f, 1.0f, 1.0f), crossSectionMaterial);
        }