/// <summary> /// Sets flags on the mesh. /// </summary> /// <param name="flag">The flags to set.</param> public void SetFlags(MeshEnum flag) { _meshType |= flag; }
public Mesh(MeshEnum type) { _meshType = type; _parentMesh = -1; }
/// <summary> /// Gets whether or not a flag is set on the mesh. /// </summary> /// <param name="flag">The flags to test.</param> /// <returns>True if the one of the flags is set.</returns> public MeshEnum GetFlags(MeshEnum flag) { return _meshType & flag; }